public interface FloatSpliterator extends java.util.Spliterator.OfPrimitive<java.lang.Float,FloatConsumer,FloatSpliterator>
Spliterator; provides an additional methods to avoid (un)boxing, and
the possibility to skip elements.Spliterator| Modifier and Type | Method and Description |
|---|---|
default void |
forEachRemaining(java.util.function.Consumer<? super java.lang.Float> action)
Deprecated.
Please use the corresponding type-specific method instead.
|
default FloatComparator |
getComparator() |
default long |
skip(long n)
Skips the given number of elements.
|
default boolean |
tryAdvance(java.util.function.Consumer<? super java.lang.Float> action)
Deprecated.
Please use the corresponding type-specific method instead.
|
FloatSpliterator |
trySplit() |
@Deprecated default boolean tryAdvance(java.util.function.Consumer<? super java.lang.Float> action)
tryAdvance in interface java.util.Spliterator<java.lang.Float>@Deprecated default void forEachRemaining(java.util.function.Consumer<? super java.lang.Float> action)
forEachRemaining in interface java.util.Spliterator<java.lang.Float>default long skip(long n)
The effect of this call is exactly the same as that of calling tryAdvance(java.util.function.Consumer<? super java.lang.Float>) for
n times (possibly stopping if tryAdvance(java.util.function.Consumer<? super java.lang.Float>) returns false).
The action called will do nothing; elements will be discarded.
n - the number of elements to skip.Spliterator.tryAdvance(java.util.function.Consumer<? super T>)FloatSpliterator trySplit()
trySplit in interface java.util.Spliterator<java.lang.Float>trySplit in interface java.util.Spliterator.OfPrimitive<java.lang.Float,FloatConsumer,FloatSpliterator>default FloatComparator getComparator()
getComparator in interface java.util.Spliterator<java.lang.Float>