net.sf.zig_project.gpl.common.queue
Class LinkedQueue.LinkedSequencer

java.lang.Object
  extended bynet.sf.zig_project.gpl.common.queue.LinkedQueue.LinkedSequencer
All Implemented Interfaces:
Enumeration
Enclosing class:
LinkedQueue

protected static class LinkedQueue.LinkedSequencer
extends Object
implements Enumeration

Provides an enumerable implementation of the elements within a LinkedQueue.


Field Summary
protected  LinkedQueue.QueueEntry ele
           
 
Constructor Summary
LinkedQueue.LinkedSequencer(LinkedQueue.QueueEntry first)
          Constructs a LinkedSequence.
 
Method Summary
 boolean hasMoreElements()
           
 Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ele

protected LinkedQueue.QueueEntry ele
Constructor Detail

LinkedQueue.LinkedSequencer

public LinkedQueue.LinkedSequencer(LinkedQueue.QueueEntry first)
Constructs a LinkedSequence.

Parameters:
first - the QueueEntry to start enumerating from
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration

nextElement

public Object nextElement()
Specified by:
nextElement in interface Enumeration