Package cern.jet.random
Class Stack
- java.lang.Object
-
- cern.jet.random.Stack
-
class Stack extends java.lang.Object
Not yet commented.
-
-
Constructor Summary
Constructors Constructor Description Stack(int capacity)
Constructs a new stack with the given capacity.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
pop()
Returns the topmost element.void
push(int value)
Places the given value on top of the stack.int
size()
Returns the number of elements contained.
-