public interface ByteStack extends Stack<java.lang.Byte>
Stack that reduces (un)boxing| Modifier and Type | Method and Description |
|---|---|
default java.lang.Byte |
peek(int index)
Deprecated.
Please use the corresponding type-specific function instead.
|
byte |
peekByte(int index)
Provides the Selected Object from the stack.
|
default java.lang.Byte |
pop()
Deprecated.
Please use the corresponding type-specific function instead.
|
byte |
popByte()
Removes the Object on top of the stack.
|
default void |
push(java.lang.Byte e)
Deprecated.
Please use the corresponding type-specific function instead.
|
void |
pushByte(byte e)
Inserts a given Object on top of the stack
|
default java.lang.Byte |
top()
Deprecated.
Please use the corresponding type-specific function instead.
|
default byte |
topByte()
Provides the Object on top of the stack
|
void pushByte(byte e)
e - the Object to insertStack.push(Object)byte popByte()
java.lang.ArrayIndexOutOfBoundsException - if the stack is emptyStack.pop()default byte topByte()
java.lang.ArrayIndexOutOfBoundsException - if the stack is emptyStack.top()byte peekByte(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.Byte e)
This default implementation delegates to the corresponding type-specific function.
@Deprecated default java.lang.Byte pop()
This default implementation delegates to the corresponding type-specific function.
@Deprecated default java.lang.Byte top()
This default implementation delegates to the corresponding type-specific function.
@Deprecated default java.lang.Byte peek(int index)
This default implementation delegates to the corresponding type-specific function.