Package cern.jet.random
Class Stack
java.lang.Object
cern.jet.random.Stack
Not yet commented.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
N
int N -
v
int[] v -
i
int i
-
-
Constructor Details
-
Stack
public Stack(int capacity) Constructs a new stack with the given capacity.
-
-
Method Details
-
pop
public int pop()Returns the topmost element. -
push
public void push(int value) Places the given value on top of the stack. -
size
public int size()Returns the number of elements contained.
-