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