Class PrimitiveArrayBuilder.Node<T>

java.lang.Object
tools.jackson.databind.util.PrimitiveArrayBuilder.Node<T>
Enclosing class:
PrimitiveArrayBuilder<T>

static final class PrimitiveArrayBuilder.Node<T> extends 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(Object, int, Object, int, int) does not take type; hence we can implement some aspects of primitive data handling in generic fashion.
  • Field Details

    • _data

      final T _data
      Data stored in this node.
    • _dataLength

      final int _dataLength
      Number entries in the (untyped) array. Offset is assumed to be 0.
    • _next

  • Constructor Details

    • Node

      public Node(T data, int dataLen)
  • Method Details