- All Superinterfaces:
Iterator<T>,ListIterator<T>
- All Known Subinterfaces:
OrderedMapCursor<K,V>
- All Known Implementing Classes:
ValueCursor,ValueEntryCursor,ValueOrderedMapCursor
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidstatic <T> Cursor<T>static <T> Cursor<T>static <T> Cursor<T>static <T> Cursor<T>empty()booleanhasNext()booleanhead()booleanisEmpty()static <K> Cursor<K>default voidload()next()default intlongprevious()default intlongdefault voidremove()default voidvoidskip(long count) voidstep()static <T> Cursor<T>unary(T value) static <V> Cursor<V>Methods inherited from interface java.util.Iterator
forEachRemaining
-
Method Details
-
isEmpty
boolean isEmpty() -
head
T head() -
step
void step() -
skip
void skip(long count) -
hasNext
boolean hasNext() -
nextIndexLong
long nextIndexLong() -
nextIndex
default int nextIndex()- Specified by:
nextIndexin interfaceListIterator<T>
-
next
T next() -
hasPrevious
boolean hasPrevious()- Specified by:
hasPreviousin interfaceListIterator<T>
-
previousIndexLong
long previousIndexLong() -
previousIndex
default int previousIndex()- Specified by:
previousIndexin interfaceListIterator<T>
-
previous
T previous()- Specified by:
previousin interfaceListIterator<T>
-
set
- Specified by:
setin interfaceListIterator<T>
-
add
- Specified by:
addin interfaceListIterator<T>
-
remove
default void remove() -
load
default void load() -
empty
-
unary
-
array
-
array
-
array
-
keys
-
values
-