it.unimi.dsi.fastutil.shorts
Interface ShortStack

All Superinterfaces:
Stack
All Known Implementing Classes:
AbstractShortList, AbstractShortStack

public interface ShortStack
extends Stack

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


Method Summary
 short peekShort(int i)
           
 short popShort()
           
 void push(short k)
           
 short topShort()
           
 
Methods inherited from interface it.unimi.dsi.fastutil.Stack
isEmpty, peek, pop, push, top
 

Method Detail

push

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

popShort

public short popShort()
See Also:
Stack.pop()

topShort

public short topShort()
See Also:
Stack.top()

peekShort

public short peekShort(int i)
See Also:
Stack.peek(int)