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