it.unimi.dsi.fastutil.doubles
Interface DoubleStack

All Superinterfaces:
Stack<Double>
All Known Implementing Classes:
AbstractDoubleBigList, AbstractDoubleBigList.DoubleSubList, AbstractDoubleList, AbstractDoubleList.DoubleSubList, AbstractDoubleStack, DoubleArrayList, DoubleBigArrayBigList, DoubleBigLists.ListBigList, DoubleBigLists.Singleton, DoubleLists.Singleton

public interface DoubleStack
extends Stack<Double>

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


Method Summary
 double peekDouble(int i)
           
 double popDouble()
           
 void push(double k)
           
 double topDouble()
           
 
Methods inherited from interface it.unimi.dsi.fastutil.Stack
isEmpty, peek, pop, push, top
 

Method Detail

push

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

popDouble

double popDouble()
See Also:
Stack.pop()

topDouble

double topDouble()
See Also:
Stack.top()

peekDouble

double peekDouble(int i)
See Also:
Stack.peek(int)