test
Class ArrayStack

java.lang.Object
  extended bytest.ArrayStack

class ArrayStack
extends java.lang.Object


Field Summary
private  int depth
           
private  int maxdepth
           
private  java.lang.Object[] stack
           
 
Constructor Summary
ArrayStack(int depth)
           
 
Method Summary
 boolean empty()
           
 java.lang.Object pop()
           
 void push(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

maxdepth

private int maxdepth

depth

private int depth

stack

private java.lang.Object[] stack
Constructor Detail

ArrayStack

public ArrayStack(int depth)
Method Detail

push

public void push(java.lang.Object o)

pop

public java.lang.Object pop()

empty

public boolean empty()