ArrayBuilders.BooleanBuilder
, ArrayBuilders.ByteBuilder
, ArrayBuilders.DoubleBuilder
, ArrayBuilders.FloatBuilder
, ArrayBuilders.IntBuilder
, ArrayBuilders.LongBuilder
, ArrayBuilders.ShortBuilder
public abstract class PrimitiveArrayBuilder<T> extends Object
Modifier and Type | Field | Description |
---|---|---|
protected int |
_bufferedEntryCount |
Number of total buffered entries in this buffer, counting all instances
within linked list formed by following
_bufferHead . |
protected com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder.Node<T> |
_bufferHead |
|
protected com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder.Node<T> |
_bufferTail |
|
protected T |
_freeBuffer |
Modifier | Constructor | Description |
---|---|---|
protected |
PrimitiveArrayBuilder() |
Modifier and Type | Method | Description |
---|---|---|
protected abstract T |
_constructArray(int len) |
|
protected void |
_reset() |
|
T |
appendCompletedChunk(T fullChunk,
int fullChunkLength) |
|
int |
bufferedSize() |
|
T |
completeAndClearBuffer(T lastChunk,
int lastChunkEntries) |
|
T |
resetAndStart() |
protected T _freeBuffer
protected com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder.Node<T> _bufferHead
protected com.fasterxml.jackson.databind.util.PrimitiveArrayBuilder.Node<T> _bufferTail
protected int _bufferedEntryCount
_bufferHead
.public int bufferedSize()
public T resetAndStart()
public final T appendCompletedChunk(T fullChunk, int fullChunkLength)
protected abstract T _constructArray(int len)
protected void _reset()
Copyright © 2008–2018. All rights reserved.