it.unimi.dsi.fastutil.ints
Interface IntStack

All Superinterfaces:
Stack<Integer>
All Known Implementing Classes:
AbstractIntBigList, AbstractIntBigList.IntSubList, AbstractIntList, AbstractIntList.IntSubList, AbstractIntStack, IntArrayList, IntBigArrayBigList, IntBigLists.ListBigList, IntBigLists.Singleton, IntLists.Singleton

public interface IntStack
extends Stack<Integer>

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


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

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

popInt

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

topInt

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

peekInt

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