Class MultiArrangement.KeyIterator

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

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