Class AbstractLinkedMap.ValuesIterator<V>
java.lang.Object
org.apache.commons.collections4.map.AbstractLinkedMap.LinkIterator<Object,V>
org.apache.commons.collections4.map.AbstractLinkedMap.ValuesIterator<V>
- Type Parameters:
V- the value type.
- All Implemented Interfaces:
Iterator<V>,OrderedIterator<V>,ResettableIterator<V>
- Enclosing class:
AbstractLinkedMap<K,V>
protected static class AbstractLinkedMap.ValuesIterator<V>
extends AbstractLinkedMap.LinkIterator<Object,V>
implements OrderedIterator<V>, ResettableIterator<V>
Values iterator.
- Since:
- 3.0
-
Field Summary
Fields inherited from class org.apache.commons.collections4.map.AbstractLinkedMap.LinkIterator
expectedModCount, last, next, parent -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedValuesIterator(AbstractLinkedMap<?, V> parent) Constructs a new instance. -
Method Summary
Methods inherited from class org.apache.commons.collections4.map.AbstractLinkedMap.LinkIterator
currentEntry, hasNext, hasPrevious, nextEntry, previousEntry, remove, reset, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, hasNext, removeMethods inherited from interface org.apache.commons.collections4.OrderedIterator
hasPreviousMethods inherited from interface org.apache.commons.collections4.ResettableIterator
reset
-
Constructor Details
-
ValuesIterator
Constructs a new instance.- Parameters:
parent- The parent AbstractLinkedMap.
-
-
Method Details
-
next
-
previous
Description copied from interface:OrderedIteratorGets the previous element from the container.- Specified by:
previousin interfaceOrderedIterator<V>- Returns:
- the previous element in the iteration
-