public class LongBuffer extends DataBuffer
| Modifier and Type | Field and Description |
|---|---|
long[] |
array |
arrayObject, capacity, end, growthCap, growthMin, start| Constructor and Description |
|---|
LongBuffer()
Creates an empty long buffer.
|
LongBuffer(int size)
Creates a long buffer of the given size.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLong(long newLong) |
void |
addLong(long newLong,
int minimumGrowth) |
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 LongBuffer()
public LongBuffer(int size)
public void newArray(int size)
DataBuffernewArray in class DataBufferpublic void addLong(long newLong)
public void addLong(long newLong,
int minimumGrowth)