it.unimi.dsi.fastutil.bytes
Interface ByteStack

All Superinterfaces:
Stack
All Known Implementing Classes:
AbstractByteList, AbstractByteStack

public interface ByteStack
extends Stack

A type-specific Stack; provides some additional methods that use polymorphism to reduce type juggling.


Method Summary
 byte peekByte(int i)
           
 byte popByte()
           
 void push(byte k)
           
 byte topByte()
           
 
Methods inherited from interface it.unimi.dsi.fastutil.Stack
isEmpty, peek, pop, push, top
 

Method Detail

push

public void push(byte k)
See Also:
Stack.push(Object)

popByte

public byte popByte()
See Also:
Stack.pop()

topByte

public byte topByte()
See Also:
Stack.top()

peekByte

public byte peekByte(int i)
See Also:
Stack.peek(int)