Class PrimitiveArrayBuilder.Node<T>

  • Enclosing class:
    PrimitiveArrayBuilder<T>

    static final class PrimitiveArrayBuilder.Node<T>
    extends java.lang.Object
    For actual buffering beyond the current buffer, we can actually use shared class which only deals with opaque "untyped" chunks. This works because System.arraycopy(java.lang.Object, int, java.lang.Object, int, int) does not take type; hence we can implement some aspects of primitive data handling in generic fashion.