Class AbstractLinkedMap.KeySetIterator<K>
- java.lang.Object
-
- org.apache.openjpa.lib.util.collections.AbstractLinkedMap.LinkIterator<K,java.lang.Object>
-
- org.apache.openjpa.lib.util.collections.AbstractLinkedMap.KeySetIterator<K>
-
- All Implemented Interfaces:
java.util.Iterator<K>
,OrderedIterator<K>
,ResettableIterator<K>
- Enclosing class:
- AbstractLinkedMap<K,V>
protected static class AbstractLinkedMap.KeySetIterator<K> extends AbstractLinkedMap.LinkIterator<K,java.lang.Object> implements OrderedIterator<K>, ResettableIterator<K>
KeySet iterator.
-
-
Field Summary
-
Fields inherited from class org.apache.openjpa.lib.util.collections.AbstractLinkedMap.LinkIterator
expectedModCount, last, next, parent
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
KeySetIterator(AbstractLinkedMap<K,?> parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description K
next()
K
previous()
Gets the previous element from the container.-
Methods inherited from class org.apache.openjpa.lib.util.collections.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 org.apache.openjpa.lib.util.collections.OrderedIterator
hasPrevious
-
Methods inherited from interface org.apache.openjpa.lib.util.collections.ResettableIterator
reset
-
-
-
-
Constructor Detail
-
KeySetIterator
protected KeySetIterator(AbstractLinkedMap<K,?> parent)
-
-
Method Detail
-
previous
public K previous()
Description copied from interface:OrderedIterator
Gets the previous element from the container.- Specified by:
previous
in interfaceOrderedIterator<K>
- Returns:
- the previous element in the iteration
-
-