public interface ByteStack extends Stack<Byte>
Stack; provides some additional methods that use
polymorphism to avoid (un)boxing.| Modifier and Type | Method and Description |
|---|---|
Byte |
peek(int i)
Deprecated.
Please use the corresponding type-specific method instead.
|
byte |
peekByte(int i)
Peeks at an element on the stack (optional operation).
|
Byte |
pop()
Deprecated.
Please use the corresponding type-specific method instead.
|
byte |
popByte()
Pushes the given object on the stack.
|
void |
push(byte k)
Pushes the given object on the stack.
|
void |
push(Byte o)
Deprecated.
Please use the corresponding type-specific method instead.
|
Byte |
top()
Deprecated.
Please use the corresponding type-specific method instead.
|
byte |
topByte()
Peeks at the top of the stack (optional operation).
|
void push(byte k)
Stack.push(Object)byte popByte()
Stack.pop()byte topByte()
Stack.top()byte peekByte(int i)
Stack.peek(int)@Deprecated void push(Byte o)
@Deprecated Byte pop()
@Deprecated Byte top()
@Deprecated Byte peek(int i)