Package squidpony.squidmath
Class OrderedMap.ValueIterator
java.lang.Object
squidpony.squidmath.OrderedMap.ValueIterator
- All Implemented Interfaces:
 Serializable,Iterator<V>,ListIterator<V>
- Enclosing class:
 - OrderedMap<K,V>
 
public final class OrderedMap.ValueIterator extends Object implements ListIterator<V>, Serializable
An iterator on values.
 
We simply override the ListIterator.next()/ListIterator.previous() methods (and possibly their type-specific counterparts) so that they return values
 instead of entries.
- See Also:
 - Serialized Form
 
- 
Constructor Summary
Constructors Constructor Description ValueIterator() - 
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.ListIterator
hasNext, hasPrevious, nextIndex, previousIndex 
- 
Constructor Details
- 
ValueIterator
public ValueIterator() 
 - 
 - 
Method Details
- 
previous
- Specified by:
 previousin interfaceListIterator<V>
 - 
set
- Specified by:
 setin interfaceListIterator<V>
 - 
add
- Specified by:
 addin interfaceListIterator<V>
 - 
next
 - 
remove
 - 
hasNext
public boolean hasNext() - 
hasPrevious
public boolean hasPrevious() - 
nextIndex
public int nextIndex() - 
previousIndex
public int previousIndex() - 
nextEntry
public int nextEntry() - 
previousEntry
public int previousEntry() - 
skip
public int skip(int n) - 
back
public int back(int n) 
 -