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