Class mheg5.UTL.Queue
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class mheg5.UTL.Queue

java.lang.Object
   |
   +----mheg5.UTL.Queue

public class Queue
extends Object
A class for providing a queue.

Variable Index

 o objectCount
Number of Objects in the Queue.

Constructor Index

 o Queue()
The Constructor of the queue

Method Index

 o Append(Object)
Append a element into the Queue.
 o empty()
A testing function for empty queue
 o Remove()
Remove a element from the Queue.

Variables

 o objectCount
  public int objectCount
Number of Objects in the Queue.

Constructors

 o Queue
  public Queue()
The Constructor of the queue
Returns:
an instance.

Methods

 o Append
  public void Append(Object obj)
Append a element into the Queue.
Parameters:
obj - the object, to append
 o Remove
  public Object Remove()
Remove a element from the Queue.
 o empty
  public boolean empty()
A testing function for empty queue
Returns:
boolean (true if empty else false)

All Packages  Class Hierarchy  This Package  Previous  Next  Index