Package cern.jet.random
Class Stack
- java.lang.Object
-
- cern.jet.random.Stack
-
class Stack extends java.lang.ObjectNot 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 intpop()Returns the topmost element.voidpush(int value)Places the given value on top of the stack.intsize()Returns the number of elements contained.
-