Class Arrangement.KeyIterator

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

public final class Arrangement.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