Package squidpony.squidmath
Class Arrangement.FastEntryIterator
java.lang.Object
squidpony.squidmath.Arrangement.FastEntryIterator
- All Implemented Interfaces:
Serializable
,Iterator<squidpony.squidmath.Arrangement.MapEntry>
,ListIterator<squidpony.squidmath.Arrangement.MapEntry>
- Enclosing class:
- Arrangement<K>
public class Arrangement.FastEntryIterator extends Object implements ListIterator<squidpony.squidmath.Arrangement.MapEntry>, Serializable
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description FastEntryIterator()
-
Method Summary
Modifier and Type Method Description void
add(squidpony.squidmath.Arrangement.MapEntry ok)
int
back(int n)
boolean
hasNext()
boolean
hasPrevious()
squidpony.squidmath.Arrangement.MapEntry
next()
int
nextEntry()
int
nextIndex()
squidpony.squidmath.Arrangement.MapEntry
previous()
int
previousEntry()
int
previousIndex()
void
remove()
void
set(squidpony.squidmath.Arrangement.MapEntry ok)
int
skip(int n)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.ListIterator
hasNext, hasPrevious, nextIndex, previousIndex, remove
-
Constructor Details
-
FastEntryIterator
public FastEntryIterator()
-
-
Method Details
-
next
- Specified by:
next
in interfaceIterator<squidpony.squidmath.Arrangement.MapEntry>
- Specified by:
next
in interfaceListIterator<squidpony.squidmath.Arrangement.MapEntry>
-
previous
- Specified by:
previous
in interfaceListIterator<squidpony.squidmath.Arrangement.MapEntry>
-
set
- Specified by:
set
in interfaceListIterator<squidpony.squidmath.Arrangement.MapEntry>
-
add
- Specified by:
add
in interfaceListIterator<squidpony.squidmath.Arrangement.MapEntry>
-
hasNext
public boolean hasNext() -
hasPrevious
public boolean hasPrevious() -
nextIndex
public int nextIndex() -
previousIndex
public int previousIndex() -
nextEntry
public int nextEntry() -
previousEntry
public int previousEntry() -
remove
public void remove() -
skip
public int skip(int n) -
back
public int back(int n)
-