public interface DoubleStack extends Stack<Double>
Stack; provides some additional methods that use polymorphism to avoid (un)boxing.| Modifier and Type | Method and Description |
|---|---|
double |
peekDouble(int i) |
double |
popDouble() |
void |
push(double k) |
double |
topDouble() |
void push(double k)
Stack.push(Object)double popDouble()
Stack.pop()double topDouble()
Stack.top()double peekDouble(int i)
Stack.peek(int)