|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.data.DataBuffer
com.partnersoft.data.ShortBuffer
public class ShortBuffer
A fast short array buffer with public access to contents. Intended for fast and unsafe operations.
| Field Summary | |
|---|---|
short[] |
array
|
| Fields inherited from class com.partnersoft.data.DataBuffer |
|---|
arrayObject, capacity, end, growthCap, growthMin, start |
| Constructor Summary | |
|---|---|
ShortBuffer()
Creates an empty short buffer. |
|
ShortBuffer(int size)
Creates a short buffer of the given size. |
|
| Method Summary | |
|---|---|
void |
newArray(int size)
Allocates a new, empty array of the given size and assign it to the arrayObject property. |
| Methods inherited from class com.partnersoft.data.DataBuffer |
|---|
append, clear, clone, copy, copyTo, getSize, insert, isEmpty, makeRoomFor, makeRoomFor, pack, remove, setToMatch, subsection, tidy, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public short[] array
| Constructor Detail |
|---|
public ShortBuffer()
public ShortBuffer(int size)
| Method Detail |
|---|
public void newArray(int size)
DataBuffer
newArray in class DataBuffer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||