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