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