- All Superinterfaces:
Iterator<T>
,ListIterator<T>
- All Known Subinterfaces:
OrderedMapCursor<K,
V>
- All Known Implementing Classes:
ValueCursor
,ValueEntryCursor
,ValueOrderedMapCursor
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
static <T> Cursor<T>
static <T> Cursor<T>
static <T> Cursor<T>
static <T> Cursor<T>
empty()
boolean
hasNext()
boolean
head()
boolean
isEmpty()
static <K> Cursor<K>
default void
load()
next()
default int
long
previous()
default int
long
default void
remove()
default void
void
skip
(long count) void
step()
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:
nextIndex
in interfaceListIterator<T>
-
next
T next() -
hasPrevious
boolean hasPrevious()- Specified by:
hasPrevious
in interfaceListIterator<T>
-
previousIndexLong
long previousIndexLong() -
previousIndex
default int previousIndex()- Specified by:
previousIndex
in interfaceListIterator<T>
-
previous
T previous()- Specified by:
previous
in interfaceListIterator<T>
-
set
- Specified by:
set
in interfaceListIterator<T>
-
add
- Specified by:
add
in interfaceListIterator<T>
-
remove
default void remove() -
load
default void load() -
empty
-
unary
-
array
-
array
-
array
-
keys
-
values
-