Package squidpony.squidmath
Class IntIntOrderedMap.FastEntryIterator
java.lang.Object
squidpony.squidmath.IntIntOrderedMap.FastEntryIterator
- All Implemented Interfaces:
Serializable
,Iterator<IntIntOrderedMap.MapEntry>
,ListIterator<IntIntOrderedMap.MapEntry>
- Enclosing class:
- IntIntOrderedMap
public class IntIntOrderedMap.FastEntryIterator extends Object implements ListIterator<IntIntOrderedMap.MapEntry>, Serializable
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description FastEntryIterator()
-
Method Summary
Modifier and Type Method Description void
add(IntIntOrderedMap.MapEntry ok)
int
back(int n)
boolean
hasNext()
boolean
hasPrevious()
IntIntOrderedMap.MapEntry
next()
int
nextEntry()
int
nextIndex()
IntIntOrderedMap.MapEntry
previous()
int
previousEntry()
int
previousIndex()
void
remove()
void
set(IntIntOrderedMap.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<IntIntOrderedMap.MapEntry>
- Specified by:
next
in interfaceListIterator<IntIntOrderedMap.MapEntry>
-
previous
- Specified by:
previous
in interfaceListIterator<IntIntOrderedMap.MapEntry>
-
set
- Specified by:
set
in interfaceListIterator<IntIntOrderedMap.MapEntry>
-
add
- Specified by:
add
in interfaceListIterator<IntIntOrderedMap.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)
-