mathCollection
Class HashMathSet.HashMathSetIterator

java.lang.Object
  extended bymathCollection.HashMathSet.HashMathSetIterator
All Implemented Interfaces:
java.util.Iterator
Enclosing class:
HashMathSet

private class HashMathSet.HashMathSetIterator
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.util.Iterator myIterator
           
 
Constructor Summary
HashMathSet.HashMathSetIterator()
           
 
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
Constructor Detail

HashMathSet.HashMathSetIterator

public HashMathSet.HashMathSetIterator()
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