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