public final class LongBuffer
extends java.lang.Object
LongBuffer
- buffer of long elements.Constructor and Description |
---|
LongBuffer()
Constructor.
|
LongBuffer(int initialChunksCapacity)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(long e)
Adds a new element.
|
void |
clear()
Clears the buffer.
|
long |
get(long index)
Returns value at index position.
|
long |
size()
Returns buffer size.
|
public LongBuffer()
public LongBuffer(int initialChunksCapacity)
initialChunksCapacity
- public boolean add(long e)
e
- public void clear()
public long get(long index)
index
- index positionpublic long size()