it.unimi.dsi.fastutil.ints
Interface IntStack

All Superinterfaces:
Stack
All Known Implementing Classes:
AbstractIntList, AbstractIntStack

public interface IntStack
extends Stack

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


Method Summary
 int peekInt(int i)
           
 int popInt()
           
 void push(int k)
           
 int topInt()
           
 
Methods inherited from interface it.unimi.dsi.fastutil.Stack
isEmpty, peek, pop, push, top
 

Method Detail

push

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

popInt

public int popInt()
See Also:
Stack.pop()

topInt

public int topInt()
See Also:
Stack.top()

peekInt

public int peekInt(int i)
See Also:
Stack.peek(int)