Class AbstractHashedMap.KeySetIterator<K>

java.lang.Object
org.apache.commons.collections4.map.AbstractHashedMap.HashIterator<K,Object>
org.apache.commons.collections4.map.AbstractHashedMap.KeySetIterator<K>
Type Parameters:
K - the type of elements maintained by this set
All Implemented Interfaces:
Iterator<K>
Enclosing class:
AbstractHashedMap<K,V>

protected static class AbstractHashedMap.KeySetIterator<K> extends AbstractHashedMap.HashIterator<K,Object> implements Iterator<K>
KeySet iterator.
  • Constructor Details

    • KeySetIterator

      protected KeySetIterator(AbstractHashedMap<K,?> parent)
      Constructs a new instance.
      Parameters:
      parent - The parent AbstractHashedMap.
  • Method Details

    • next

      public K next()
      Specified by:
      next in interface Iterator<K>