ist.palcom.base
Class HashIterator

java.lang.Object
  extended by ist.palcom.base.Object
      extended by ist.palcom.base.HashIterator

public class HashIterator
extends Object

HashIterator is a system class. It is obtained from the HashMap's or ReadableHashMap's iterator method. It is never instantiated directly.


Constructor Summary
HashIterator()
           
 
Method Summary
 boolean hasNext()
          Returns true if this HashIterator has more elements.
 Object next()
          Returns the next element in the ReadableHashMap.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashIterator

public HashIterator()
Method Detail

next

public Object next()
Returns the next element in the ReadableHashMap. This method may return an instance of HashEntry or an instance of ReadableHashEntry, depending on the backing ReadableHashMap.

Returns:
Object next element in the HashMap.

hasNext

public boolean hasNext()
Returns true if this HashIterator has more elements.

Returns:
boolean if this HashIterator has more elements.