uwcse.collections
Class SimpleOpenHashMap.SimpleValueIterator

java.lang.Object
  |
  +--uwcse.collections.SimpleOpenHashMap.SimpleKeyIterator
        |
        +--uwcse.collections.SimpleOpenHashMap.SimpleValueIterator
All Implemented Interfaces:
SimpleIterator
Enclosing class:
SimpleOpenHashMap

class SimpleOpenHashMap.SimpleValueIterator
extends SimpleOpenHashMap.SimpleKeyIterator

Just overrides the getItem method to return the value from a given entry, rather than the key.


Fields inherited from class uwcse.collections.SimpleOpenHashMap.SimpleKeyIterator
bucket, iter
 
Constructor Summary
(package private) SimpleOpenHashMap.SimpleValueIterator()
           
 
Method Summary
 java.lang.Object getItem(SimpleOpenHashMap.Entry e)
           
 
Methods inherited from class uwcse.collections.SimpleOpenHashMap.SimpleKeyIterator
hasNext, next
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleOpenHashMap.SimpleValueIterator

SimpleOpenHashMap.SimpleValueIterator()
Method Detail

getItem

public java.lang.Object getItem(SimpleOpenHashMap.Entry e)
Overrides:
getItem in class SimpleOpenHashMap.SimpleKeyIterator