public final class IntDoubleOrderedMap.ValueIterator
extends java.lang.Object
implements java.util.ListIterator<java.lang.Double>, 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.Double v) |
java.lang.Double |
next() |
java.lang.Double |
previous() |
void |
remove() |
void |
set(java.lang.Double v) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public java.lang.Double previous()
previous
in interface java.util.ListIterator<java.lang.Double>
public void set(java.lang.Double v)
set
in interface java.util.ListIterator<java.lang.Double>
public void add(java.lang.Double v)
add
in interface java.util.ListIterator<java.lang.Double>
public java.lang.Double next()
next
in interface java.util.Iterator<java.lang.Double>
next
in interface java.util.ListIterator<java.lang.Double>
public void remove()
remove
in interface java.util.Iterator<java.lang.Double>
remove
in interface java.util.ListIterator<java.lang.Double>
Copyright © Eben Howard 2012–2022. All rights reserved.