org.apache.commons.collections.map
Class AbstractHashedMap.HashIterator
java.lang.Object
|
+--org.apache.commons.collections.map.AbstractHashedMap.HashIterator
- All Implemented Interfaces:
- Iterator
- Direct Known Subclasses:
- AbstractHashedMap.EntrySetIterator, AbstractHashedMap.HashMapIterator, AbstractHashedMap.ValuesIterator
- Enclosing class:
- AbstractHashedMap
- protected abstract static class AbstractHashedMap.HashIterator
- extends Object
- implements Iterator
Base Iterator
parent
protected final AbstractHashedMap parent
- The parent map
hashIndex
protected int hashIndex
- The current index into the array of buckets
last
protected AbstractHashedMap.HashEntry last
- The last returned entry
next
protected AbstractHashedMap.HashEntry next
- The next entry
expectedModCount
protected int expectedModCount
- The modification count expected
AbstractHashedMap.HashIterator
protected AbstractHashedMap.HashIterator(AbstractHashedMap parent)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
nextEntry
protected AbstractHashedMap.HashEntry nextEntry()
currentEntry
protected AbstractHashedMap.HashEntry currentEntry()
remove
public void remove()
- Specified by:
remove
in interface Iterator
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.