public class DoubleStack
extends java.lang.Object
Constructor and Description |
---|
DoubleStack(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
void |
ensureCapacity(int minCapacity) |
boolean |
isEmpty() |
double |
peek() |
double |
pop() |
double |
push(double item) |