public final class OrderedMap.KeyIterator
extends java.lang.Object
implements java.util.Iterator<K>, java.io.Serializable
We simply override the ListIterator.next()
/ListIterator.previous()
methods (and possibly their type-specific counterparts) so that they return keys
instead of entries.
Constructor and Description |
---|
KeyIterator() |
Modifier and Type | Method and Description |
---|---|
void |
add(K k) |
K |
next() |
K |
previous() |
void |
remove() |
void |
set(K k) |
Copyright © Eben Howard 2012–2022. All rights reserved.