it.unimi.dsi.fastutil.longs
Interface LongStack

All Superinterfaces:
Stack
All Known Implementing Classes:
AbstractLongList, AbstractLongStack

public interface LongStack
extends Stack

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


Method Summary
 long peekLong(int i)
           
 long popLong()
           
 void push(long k)
           
 long topLong()
           
 
Methods inherited from interface it.unimi.dsi.fastutil.Stack
isEmpty, peek, pop, push, top
 

Method Detail

push

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

popLong

public long popLong()
See Also:
Stack.pop()

topLong

public long topLong()
See Also:
Stack.top()

peekLong

public long peekLong(int i)
See Also:
Stack.peek(int)