it.unimi.dsi.fastutil.longs
Interface LongStack

All Superinterfaces:
Stack<Long>
All Known Implementing Classes:
AbstractLongList, AbstractLongList.LongSubList, AbstractLongStack, LongArrayList, LongLists.Singleton

public interface LongStack
extends Stack<Long>

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


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

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

popLong

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

topLong

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

peekLong

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