SandMark version 2.0


sandmark.util
Class CircularBuffer.Iterator

java.lang.Object
  |
  +--sandmark.util.CircularBuffer.Iterator
All Implemented Interfaces:
java.util.Iterator
Enclosing class:
CircularBuffer

class CircularBuffer.Iterator
extends java.lang.Object
implements java.util.Iterator


Field Summary
(package private)  Node current
           
(package private)  boolean firstTime
           
 
Constructor Summary
CircularBuffer.Iterator()
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

current

Node current

firstTime

boolean firstTime
Constructor Detail

CircularBuffer.Iterator

public CircularBuffer.Iterator()
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
                      throws java.util.NoSuchElementException
Specified by:
next in interface java.util.Iterator
java.util.NoSuchElementException

remove

public void remove()
Specified by:
remove in interface java.util.Iterator

SandMark version 2.0

Mon Jun 17 12:30:47 MST 2002