Class AbstractLinkedMap.KeySetIterator
- java.lang.Object
-
- org.apache.commons.collections.map.AbstractLinkedMap.LinkIterator
-
- org.apache.commons.collections.map.AbstractLinkedMap.EntrySetIterator
-
- org.apache.commons.collections.map.AbstractLinkedMap.KeySetIterator
-
- All Implemented Interfaces:
Iterator
,OrderedIterator
,ResettableIterator
- Enclosing class:
- AbstractLinkedMap
protected static class AbstractLinkedMap.KeySetIterator extends AbstractLinkedMap.EntrySetIterator
KeySet iterator.
-
-
Field Summary
-
Fields inherited from class org.apache.commons.collections.map.AbstractLinkedMap.LinkIterator
expectedModCount, last, next, parent
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
KeySetIterator(AbstractLinkedMap parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
next()
Object
previous()
Gets the previous element from the collection.-
Methods inherited from class org.apache.commons.collections.map.AbstractLinkedMap.LinkIterator
currentEntry, hasNext, hasPrevious, nextEntry, previousEntry, remove, reset, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
KeySetIterator
protected KeySetIterator(AbstractLinkedMap parent)
-
-
Method Detail
-
next
public Object next()
- Specified by:
next
in interfaceIterator
- Overrides:
next
in classAbstractLinkedMap.EntrySetIterator
-
previous
public Object previous()
Description copied from interface:OrderedIterator
Gets the previous element from the collection.- Specified by:
previous
in interfaceOrderedIterator
- Overrides:
previous
in classAbstractLinkedMap.EntrySetIterator
- Returns:
- the previous element in the iteration
-
-