public class ObjectBuffer extends DataBuffer
| Modifier and Type | Field and Description |
|---|---|
java.lang.Object[] |
array |
arrayObject, capacity, end, growthCap, growthMin, start| Constructor and Description |
|---|
ObjectBuffer()
Creates an empty object buffer.
|
ObjectBuffer(int size)
Creates a object buffer of the given size.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.Object value) |
void |
newArray(int size)
Allocates a new, empty array of the given size and assign it to the
arrayObject property.
|
append, clear, clone, copy, copyTo, getSize, insert, isEmpty, makeRoomFor, makeRoomFor, pack, remove, setToMatch, subsection, tidy, toStringpublic ObjectBuffer()
public ObjectBuffer(int size)
public void add(java.lang.Object value)
public void newArray(int size)
DataBuffernewArray in class DataBuffer