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