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