public interface FloatStack extends Stack<java.lang.Float>
Stack that reduces (un)boxing| Modifier and Type | Method and Description |
|---|---|
default java.lang.Float |
peek(int index)
Deprecated.
Please use the corresponding type-specific function instead.
|
float |
peekFloat(int index)
Provides the Selected Object from the stack.
|
default java.lang.Float |
pop()
Deprecated.
Please use the corresponding type-specific function instead.
|
float |
popFloat()
Removes the Object on top of the stack.
|
default void |
push(java.lang.Float e)
Deprecated.
Please use the corresponding type-specific function instead.
|
void |
pushFloat(float e)
Inserts a given Object on top of the stack
|
default java.lang.Float |
top()
Deprecated.
Please use the corresponding type-specific function instead.
|
default float |
topFloat()
Provides the Object on top of the stack
|
void pushFloat(float e)
e - the Object to insertStack.push(Object)float popFloat()
java.lang.ArrayIndexOutOfBoundsException - if the stack is emptyStack.pop()default float topFloat()
java.lang.ArrayIndexOutOfBoundsException - if the stack is emptyStack.top()float peekFloat(int index)
index - of the element that should be providedjava.lang.ArrayIndexOutOfBoundsException - if the index is out of boundsStack.peek(int)@Deprecated default void push(java.lang.Float e)
This default implementation delegates to the corresponding type-specific function.
@Deprecated default java.lang.Float pop()
This default implementation delegates to the corresponding type-specific function.
@Deprecated default java.lang.Float top()
This default implementation delegates to the corresponding type-specific function.
@Deprecated default java.lang.Float peek(int index)
This default implementation delegates to the corresponding type-specific function.