Class IntIntOrderedMap.KeyIterator

java.lang.Object
squidpony.squidmath.IntIntOrderedMap.KeyIterator
All Implemented Interfaces:
Serializable, Iterator<Integer>
Enclosing class:
IntIntOrderedMap

public final class IntIntOrderedMap.KeyIterator
extends Object
implements Iterator<Integer>, 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