public abstract class PrimitiveArrayBuilder<T> extends Object
Modifier and Type | Field and 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 and Description |
---|---|
protected |
PrimitiveArrayBuilder() |
Modifier and Type | Method and 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 © 2016 JBoss by Red Hat. All rights reserved.