ist.palcom.base
Class HashKeyIterator

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

public class HashKeyIterator
extends Object

Iterator over the keys in a HashMap or ReadableHashMap.


Constructor Summary
HashKeyIterator()
           
 
Method Summary
 void entryIterator(HashIterator t)
          Initializes this HashKeyIterator
 Boolean hasNext()
          Returns true of this HashKeyIterator has more elements.
 Object next()
          Returns next element in the key-set of the HashTable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashKeyIterator

public HashKeyIterator()
Method Detail

next

public Object next()
Returns next element in the key-set of the HashTable.

Returns:
Object next element.

entryIterator

public void entryIterator(HashIterator t)
Initializes this HashKeyIterator

Parameters:
t - HashIterator the HashIterator

hasNext

public Boolean hasNext()
Returns true of this HashKeyIterator has more elements.

Returns:
Boolean true of this HashKeyIterator has more elements.