|
GNU Trove | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TByteStack
A stack of byte primitives.
| Method Summary | |
|---|---|
void |
clear()
Clears the stack. |
byte |
getNoEntryValue()
Returns the value that is used to represent null. |
byte |
peek()
Returns the value at the top of the stack. |
byte |
pop()
Removes and returns the value at the top of the stack. |
void |
push(byte val)
Pushes the value onto the top of the stack. |
int |
size()
Returns the current depth of the stack. |
byte[] |
toArray()
Copies the contents of the stack into a native array. |
void |
toArray(byte[] dest)
Copies a slice of the list into a native array. |
| Method Detail |
|---|
byte getNoEntryValue()
void push(byte val)
val - an byte valuebyte pop()
byte valuebyte peek()
byte valueint size()
void clear()
byte[] toArray()
byte[] valuevoid toArray(byte[] dest)
dest - the array to copy into.
|
GNU Trove | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||