Package it.unimi.dsi.fastutil.floats
Class FloatSpliterators.EmptySpliterator
java.lang.Object
it.unimi.dsi.fastutil.floats.FloatSpliterators.EmptySpliterator
- All Implemented Interfaces:
FloatSpliterator
,Serializable
,Cloneable
,Spliterator<Float>
,Spliterator.OfPrimitive<Float,
FloatConsumer, FloatSpliterator>
- Enclosing class:
FloatSpliterators
public static class FloatSpliterators.EmptySpliterator
extends Object
implements FloatSpliterator, Serializable, Cloneable
A class returning no elements and a type-specific spliterator interface.
This class may be useful to implement your own in case you subclass a type-specific spliterator.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.Spliterator
Spliterator.OfDouble, Spliterator.OfInt, Spliterator.OfLong, Spliterator.OfPrimitive<T,
T_CONS, T_SPLITR extends Spliterator.OfPrimitive<T, T_CONS, T_SPLITR>> -
Field Summary
Fields inherited from interface java.util.Spliterator
CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED
-
Method Summary
Modifier and TypeMethodDescriptionint
clone()
long
void
forEachRemaining
(FloatConsumer action) void
forEachRemaining
(Consumer<? super Float> action) Deprecated.boolean
tryAdvance
(FloatConsumer action) boolean
tryAdvance
(Consumer<? super Float> action) Deprecated.trySplit()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface it.unimi.dsi.fastutil.floats.FloatSpliterator
getComparator, skip
Methods inherited from interface java.util.Spliterator
getExactSizeIfKnown, hasCharacteristics
-
Method Details
-
tryAdvance
- Specified by:
tryAdvance
in interfaceSpliterator.OfPrimitive<Float,
FloatConsumer, FloatSpliterator>
-
tryAdvance
Deprecated.Description copied from interface:FloatSpliterator
- Specified by:
tryAdvance
in interfaceFloatSpliterator
- Specified by:
tryAdvance
in interfaceSpliterator<Float>
-
trySplit
Description copied from interface:FloatSpliterator
- Specified by:
trySplit
in interfaceFloatSpliterator
- Specified by:
trySplit
in interfaceSpliterator<Float>
- Specified by:
trySplit
in interfaceSpliterator.OfPrimitive<Float,
FloatConsumer, FloatSpliterator>
-
estimateSize
public long estimateSize()- Specified by:
estimateSize
in interfaceSpliterator<Float>
-
characteristics
public int characteristics()- Specified by:
characteristics
in interfaceSpliterator<Float>
-
forEachRemaining
- Specified by:
forEachRemaining
in interfaceSpliterator.OfPrimitive<Float,
FloatConsumer, FloatSpliterator>
-
forEachRemaining
Deprecated.Description copied from interface:FloatSpliterator
- Specified by:
forEachRemaining
in interfaceFloatSpliterator
- Specified by:
forEachRemaining
in interfaceSpliterator<Float>
-
clone
-