public final class IntIntOrderedMap.ValueIterator
extends java.lang.Object
implements java.util.ListIterator<java.lang.Integer>, java.io.Serializable
We simply override the ListIterator.next()/ListIterator.previous() methods (and possibly their type-specific counterparts) so that they return values
instead of entries.
| Constructor and Description |
|---|
ValueIterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.Integer v) |
java.lang.Integer |
next() |
java.lang.Integer |
previous() |
void |
remove() |
void |
set(java.lang.Integer v) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic java.lang.Integer previous()
previous in interface java.util.ListIterator<java.lang.Integer>public void set(java.lang.Integer v)
set in interface java.util.ListIterator<java.lang.Integer>public void add(java.lang.Integer v)
add in interface java.util.ListIterator<java.lang.Integer>public java.lang.Integer next()
next in interface java.util.Iterator<java.lang.Integer>next in interface java.util.ListIterator<java.lang.Integer>public void remove()
remove in interface java.util.Iterator<java.lang.Integer>remove in interface java.util.ListIterator<java.lang.Integer>Copyright © Eben Howard 2012–2022. All rights reserved.