public abstract class LongIterator extends ImmutableIterator<java.lang.Long>
Modifier and Type | Field and Description |
---|---|
static LongIterator |
EMPTY |
Constructor and Description |
---|
LongIterator() |
Modifier and Type | Method and Description |
---|---|
static LongIterator |
empty() |
<E extends java.lang.Exception> |
forEachRemaining(Try.LongConsumer<E> action) |
java.lang.Long |
next()
Deprecated.
|
abstract long |
nextLong() |
static LongIterator |
of(long[] a) |
static LongIterator |
of(long[] a,
int fromIndex,
int toIndex) |
long[] |
toArray() |
LongList |
toList() |
of, remove
public static final LongIterator EMPTY
public static LongIterator empty()
public static LongIterator of(long[] a)
public static LongIterator of(long[] a, int fromIndex, int toIndex)
@Deprecated public java.lang.Long next()
public abstract long nextLong()
public long[] toArray()
public LongList toList()
public <E extends java.lang.Exception> void forEachRemaining(Try.LongConsumer<E> action) throws E extends java.lang.Exception
E extends java.lang.Exception