EDU.auburn.VGJ.algorithm.shawn
Class Queue

java.lang.Object
  extended byEDU.auburn.VGJ.algorithm.shawn.Queue

public class Queue
extends java.lang.Object

Class to implement a simple queue of integers.

Here is the source.


Constructor Summary
Queue()
           
 
Method Summary
 boolean isEmpty()
           
 int pop()
           
 int push(int item)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Queue

public Queue()
Method Detail

push

public int push(int item)

pop

public int pop()

isEmpty

public boolean isEmpty()