java.lang.Object
tools.jackson.databind.util.PrimitiveArrayBuilder<T>
- Direct Known Subclasses:
ArrayBuilders.BooleanBuilder,ArrayBuilders.ByteBuilder,ArrayBuilders.DoubleBuilder,ArrayBuilders.FloatBuilder,ArrayBuilders.IntBuilder,ArrayBuilders.LongBuilder,ArrayBuilders.ShortBuilder
Base class for specialized primitive array builders.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intNumber of total buffered entries in this buffer, counting all instances within linked list formed by following_bufferHead.protected tools.jackson.databind.util.PrimitiveArrayBuilder.Node<T>protected tools.jackson.databind.util.PrimitiveArrayBuilder.Node<T>protected T -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract T_constructArray(int len) protected void_reset()final TappendCompletedChunk(T fullChunk, int fullChunkLength) intcompleteAndClearBuffer(T lastChunk, int lastChunkEntries)
-
Field Details
-
_freeBuffer
-
_bufferHead
-
_bufferTail
-
_bufferedEntryCount
protected int _bufferedEntryCountNumber of total buffered entries in this buffer, counting all instances within linked list formed by following_bufferHead.
-
-
Constructor Details
-
PrimitiveArrayBuilder
protected PrimitiveArrayBuilder()
-
-
Method Details
-
bufferedSize
public int bufferedSize() -
resetAndStart
-
appendCompletedChunk
- Returns:
- Length of the next chunk to allocate
-
completeAndClearBuffer
-
_constructArray
-
_reset
protected void _reset()
-