Package it.unimi.dsi.fastutil.doubles
Class DoubleSpliterators.EmptySpliterator
java.lang.Object
it.unimi.dsi.fastutil.doubles.DoubleSpliterators.EmptySpliterator
- All Implemented Interfaces:
DoubleSpliterator
,Serializable
,Cloneable
,Spliterator<Double>
,Spliterator.OfDouble
,Spliterator.OfPrimitive<Double,
DoubleConsumer, Spliterator.OfDouble>
- Enclosing class:
DoubleSpliterators
public static class DoubleSpliterators.EmptySpliterator
extends Object
implements DoubleSpliterator, 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
(Consumer<? super Double> action) Deprecated.void
forEachRemaining
(DoubleConsumer action) boolean
tryAdvance
(Consumer<? super Double> action) Deprecated.boolean
tryAdvance
(DoubleConsumer action) 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.doubles.DoubleSpliterator
forEachRemaining, getComparator, skip, tryAdvance
Methods inherited from interface java.util.Spliterator
getExactSizeIfKnown, hasCharacteristics
-
Method Details
-
tryAdvance
- Specified by:
tryAdvance
in interfaceSpliterator.OfDouble
- Specified by:
tryAdvance
in interfaceSpliterator.OfPrimitive<Double,
DoubleConsumer, Spliterator.OfDouble>
-
tryAdvance
Deprecated.Description copied from interface:DoubleSpliterator
- Specified by:
tryAdvance
in interfaceDoubleSpliterator
- Specified by:
tryAdvance
in interfaceSpliterator<Double>
- Specified by:
tryAdvance
in interfaceSpliterator.OfDouble
-
trySplit
Description copied from interface:DoubleSpliterator
- Specified by:
trySplit
in interfaceDoubleSpliterator
- Specified by:
trySplit
in interfaceSpliterator<Double>
- Specified by:
trySplit
in interfaceSpliterator.OfDouble
- Specified by:
trySplit
in interfaceSpliterator.OfPrimitive<Double,
DoubleConsumer, Spliterator.OfDouble>
-
estimateSize
public long estimateSize()- Specified by:
estimateSize
in interfaceSpliterator<Double>
-
characteristics
public int characteristics()- Specified by:
characteristics
in interfaceSpliterator<Double>
-
forEachRemaining
- Specified by:
forEachRemaining
in interfaceSpliterator.OfDouble
- Specified by:
forEachRemaining
in interfaceSpliterator.OfPrimitive<Double,
DoubleConsumer, Spliterator.OfDouble>
-
forEachRemaining
Deprecated.Description copied from interface:DoubleSpliterator
- Specified by:
forEachRemaining
in interfaceDoubleSpliterator
- Specified by:
forEachRemaining
in interfaceSpliterator<Double>
- Specified by:
forEachRemaining
in interfaceSpliterator.OfDouble
-
clone
-