Class OrderedMap.KeyIterator

java.lang.Object
squidpony.squidmath.OrderedMap.KeyIterator
All Implemented Interfaces:
Serializable, Iterator<K>
Enclosing class:
OrderedMap<K,​V>

public final class OrderedMap.KeyIterator
extends Object
implements Iterator<K>, Serializable
An iterator on keys.

We simply override the ListIterator.next()/ListIterator.previous() methods (and possibly their type-specific counterparts) so that they return keys instead of entries.

See Also:
Serialized Form