Class RangeBasedSpliterator.OfFloat
java.lang.Object
one.util.streamex.Internals.CloneableSpliterator<Double, RangeBasedSpliterator.OfFloat>
one.util.streamex.RangeBasedSpliterator<Double, RangeBasedSpliterator.OfFloat>
one.util.streamex.RangeBasedSpliterator.OfFloat
- All Implemented Interfaces:
Cloneable, Spliterator<Double>, Spliterator.OfDouble, Spliterator.OfPrimitive<Double, DoubleConsumer, Spliterator.OfDouble>
- Enclosing class:
RangeBasedSpliterator<T, S extends RangeBasedSpliterator<T,?>>
static final class RangeBasedSpliterator.OfFloat
extends RangeBasedSpliterator<Double, RangeBasedSpliterator.OfFloat>
implements Spliterator.OfDouble
-
Nested Class Summary
Nested classes/interfaces inherited from class RangeBasedSpliterator
RangeBasedSpliterator.AsEntry<T>, RangeBasedSpliterator.OfByte, RangeBasedSpliterator.OfChar, RangeBasedSpliterator.OfFloat, RangeBasedSpliterator.OfShort, RangeBasedSpliterator.OfSubLists<T>, RangeBasedSpliterator.ZipDouble, RangeBasedSpliterator.ZipInt, RangeBasedSpliterator.ZipLong, RangeBasedSpliterator.ZipRef<U,V, T> Nested classes/interfaces inherited from interface Spliterator
Spliterator.OfDouble, Spliterator.OfInt, Spliterator.OfLong, Spliterator.OfPrimitive<T,T_CONS, T_SPLITR> -
Field Summary
FieldsFields inherited from class RangeBasedSpliterator
cur, limitFields inherited from interface Spliterator
CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidforEachRemaining(DoubleConsumer action) booleantryAdvance(DoubleConsumer action) Methods inherited from class RangeBasedSpliterator
characteristics, estimateSize, trySplitMethods inherited from class Internals.CloneableSpliterator
doCloneMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Spliterator
characteristics, estimateSize, getComparator, getExactSizeIfKnown, hasCharacteristicsMethods inherited from interface Spliterator.OfDouble
forEachRemaining, tryAdvance, trySplit
-
Field Details
-
array
private final float[] array
-
-
Constructor Details
-
OfFloat
public OfFloat(int fromInclusive, int toExclusive, float[] array)
-
-
Method Details
-
tryAdvance
- Specified by:
tryAdvancein interfaceSpliterator.OfDouble- Specified by:
tryAdvancein interfaceSpliterator.OfPrimitive<Double, DoubleConsumer, Spliterator.OfDouble>
-
forEachRemaining
- Specified by:
forEachRemainingin interfaceSpliterator.OfDouble- Specified by:
forEachRemainingin interfaceSpliterator.OfPrimitive<Double, DoubleConsumer, Spliterator.OfDouble>
-