Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

pgj.gen.code
Class IntegerStack  view IntegerStack download IntegerStack.java

java.lang.Object
  extended bypgj.gen.code.IntegerStack

class IntegerStack
extends java.lang.Object


Field Summary
private  int[] integers
           
private  int topIndex
           
 
Constructor Summary
IntegerStack()
           
IntegerStack(int size)
           
 
Method Summary
private  void expand()
           
 boolean isEmpty()
           
 int pop()
           
 void push(int i)
           
 int top()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

topIndex

private int topIndex

integers

private int[] integers
Constructor Detail

IntegerStack

public IntegerStack()

IntegerStack

public IntegerStack(int size)
Method Detail

pop

public int pop()

push

public void push(int i)

top

public int top()

isEmpty

public boolean isEmpty()

expand

private void expand()