mathCollection
Class HashSetOfSets.HashSetOfSetsIterator

java.lang.Object
  extended bymathCollection.HashSetOfSets.HashSetOfSetsIterator
All Implemented Interfaces:
java.util.Iterator
Enclosing class:
HashSetOfSets

private class HashSetOfSets.HashSetOfSetsIterator
extends java.lang.Object
implements java.util.Iterator

A 'wrapper' iterator class that uses HashSet.iterator() while accounting for the additional storedHashCode attribute.


Field Summary
private  java.lang.Object currentElement
           
private  java.util.Iterator myIterator
           
 
Constructor Summary
HashSetOfSets.HashSetOfSetsIterator()
           
 
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

myIterator

private java.util.Iterator myIterator

currentElement

private java.lang.Object currentElement
Constructor Detail

HashSetOfSets.HashSetOfSetsIterator

public HashSetOfSets.HashSetOfSetsIterator()
Method Detail

hasNext

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

next

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

remove

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