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