TLongArrayStack
public interface TLongStack
Modifier and Type | Method | Description |
---|---|---|
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.
|
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.