it.unimi.dsi.fastutil.bytes
Interface ByteStack

All Superinterfaces:
Stack<Byte>
All Known Implementing Classes:
AbstractByteBigList, AbstractByteBigList.ByteSubList, AbstractByteList, AbstractByteList.ByteSubList, AbstractByteStack, ByteArrayList, ByteBigArrayBigList, ByteBigLists.ListBigList, ByteBigLists.Singleton, ByteLists.Singleton

public interface ByteStack
extends Stack<Byte>

A type-specific Stack; provides some additional methods that use polymorphism to avoid (un)boxing.


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

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

popByte

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

topByte

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

peekByte

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