Class EDU.auburn.VGJ.algorithm.shawn.Queue
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class EDU.auburn.VGJ.algorithm.shawn.Queue

java.lang.Object
   |
   +----EDU.auburn.VGJ.algorithm.shawn.Queue

public class Queue
extends Object
Class to implement a simple queue of integers.

Here is the source.

Constructor Index

 o Queue()

Method Index

 o isEmpty()
 o pop()
 o push(int)

Constructors

 o Queue
  public Queue()

Methods

 o push
  public int push(int item)
 o pop
  public int pop()
 o isEmpty
  public boolean isEmpty()

All Packages  Class Hierarchy  This Package  Previous  Next  Index