org.jikesrvm.util
Class AbstractHashSetRVM.SetIterator

java.lang.Object
  extended by org.jikesrvm.util.AbstractHashSetRVM.SetIterator
All Implemented Interfaces:
Iterator<T>
Enclosing class:
AbstractHashSetRVM<T>

 class AbstractHashSetRVM.SetIterator
extends Object
implements Iterator<T>

Iterator


Field Summary
private  int bucketIndex
           
private  AbstractHashSetRVM.AbstractBucket<T> next
           
private  int numVisited
           
 
Constructor Summary
AbstractHashSetRVM.SetIterator()
           
 
Method Summary
 boolean hasNext()
           
 T next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bucketIndex

private int bucketIndex

next

private AbstractHashSetRVM.AbstractBucket<T> next

numVisited

private int numVisited
Constructor Detail

AbstractHashSetRVM.SetIterator

AbstractHashSetRVM.SetIterator()
Method Detail

next

public T next()
Specified by:
next in interface Iterator<T>

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<T>

remove

public void remove()
Specified by:
remove in interface Iterator<T>