T
- Type of name entries stored in arrays to recyclepublic class SmileBufferRecycler<T> extends Object
Modifier and Type | Field and Description |
---|---|
protected T[] |
_seenNamesBuffer |
protected T[] |
_seenStringValuesBuffer |
static int |
DEFAULT_NAME_BUFFER_LENGTH |
static int |
DEFAULT_STRING_VALUE_BUFFER_LENGTH |
Constructor and Description |
---|
SmileBufferRecycler() |
Modifier and Type | Method and Description |
---|---|
T[] |
allocSeenNamesBuffer() |
T[] |
allocSeenStringValuesBuffer() |
void |
releaseSeenNamesBuffer(T[] buffer) |
void |
releaseSeenStringValuesBuffer(T[] buffer) |
public static final int DEFAULT_NAME_BUFFER_LENGTH
public static final int DEFAULT_STRING_VALUE_BUFFER_LENGTH
protected T[] _seenNamesBuffer
protected T[] _seenStringValuesBuffer