Package squidpony.squidmath
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
-
Constructor Details
-
KeyIterator
public KeyIterator()
-
-
Method Details
-
previous
-
set
-
add
-
next
-
remove
-
hasNext
public boolean hasNext() -
hasPrevious
public boolean hasPrevious() -
nextIndex
public int nextIndex() -
previousIndex
public int previousIndex() -
nextEntry
public int nextEntry() -
previousEntry
public int previousEntry() -
skip
public int skip(int n) -
back
public int back(int n)
-