| Modifier and Type | Field and Description |
|---|---|
static FloatIterator |
EMPTY |
| Constructor and Description |
|---|
FloatIterator() |
| Modifier and Type | Method and Description |
|---|---|
static FloatIterator |
empty() |
<E extends Exception> |
foreachIndexed(Throwables.IndexedFloatConsumer<E> action) |
void |
forEachRemaining(Consumer<? super Float> action)
Deprecated.
|
<E extends Exception> |
foreachRemaining(Throwables.FloatConsumer<E> action) |
static FloatIterator |
generate(BooleanSupplier hasNext,
FloatSupplier supplier) |
static FloatIterator |
generate(FloatSupplier supplier)
Returns an infinite
FloatIterator. |
ObjIterator<IndexedFloat> |
indexed() |
ObjIterator<IndexedFloat> |
indexed(long startIndex) |
Float |
next()
Deprecated.
|
abstract float |
nextFloat() |
static FloatIterator |
of(float... a) |
static FloatIterator |
of(float[] a,
int fromIndex,
int toIndex) |
static FloatIterator |
of(Supplier<? extends FloatIterator> iteratorSupplier)
Lazy evaluation.
|
static FloatIterator |
oF(Supplier<float[]> arraySupplier)
Lazy evaluation.
|
void |
remove()
Deprecated.
- UnsupportedOperationException
|
<C extends Collection<T>> |
toCollection(Supplier<? extends C> supplier) |
ImmutableList<T> |
toImmutableList() |
ImmutableSet<T> |
toImmutableSet() |
Set<T> |
toSet() |
public static final FloatIterator EMPTY
public static FloatIterator empty()
@SafeVarargs public static FloatIterator of(float... a)
a - public static FloatIterator of(float[] a, int fromIndex, int toIndex)
a - fromIndex - toIndex - public static FloatIterator of(Supplier<? extends FloatIterator> iteratorSupplier)
iteratorSupplier - public static FloatIterator oF(Supplier<float[]> arraySupplier)
arraySupplier - public static FloatIterator generate(FloatSupplier supplier)
FloatIterator.supplier - public static FloatIterator generate(BooleanSupplier hasNext, FloatSupplier supplier)
hasNext - supplier - @Deprecated public Float next()
public abstract float nextFloat()
@Beta public ObjIterator<IndexedFloat> indexed()
@Beta public ObjIterator<IndexedFloat> indexed(long startIndex)
@Deprecated public void forEachRemaining(Consumer<? super Float> action)
action - public <E extends Exception> void foreachRemaining(Throwables.FloatConsumer<E> action) throws E extends Exception
E - action - E - the eE extends Exceptionpublic <E extends Exception> void foreachIndexed(Throwables.IndexedFloatConsumer<E> action) throws E extends Exception
E - action - E - the eE extends Exception@Deprecated public void remove() throws UnsupportedOperationException
remove in interface Iterator<T>UnsupportedOperationExceptionpublic Set<T> toSet()
public <C extends Collection<T>> C toCollection(Supplier<? extends C> supplier)
C - supplier - public ImmutableList<T> toImmutableList()
public ImmutableSet<T> toImmutableSet()
Copyright © 2021. All rights reserved.