Package cpsc331.collections
Class NewOpenHashTableDouble.Iter
- java.lang.Object
-
- cpsc331.collections.NewOpenHashTableDouble.Iter
-
- All Implemented Interfaces:
java.util.Iterator<KeyValuePair<K,V>>
- Enclosing class:
- NewOpenHashTableDouble<K,V>
public class NewOpenHashTableDouble.Iter extends java.lang.Object implements java.util.Iterator<KeyValuePair<K,V>>
Provides an Iterator for this hash table
-
-
Constructor Summary
Constructors Constructor Description Iter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
KeyValuePair<K,V>
next()
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<KeyValuePair<K,V>>
-
next
public KeyValuePair<K,V> next() throws java.util.NoSuchElementException
- Specified by:
next
in interfacejava.util.Iterator<KeyValuePair<K,V>>
- Throws:
java.util.NoSuchElementException
-
-