Package fr.gouv.vitam.common.utils
Class VitamReaderSpliterator
java.lang.Object
fr.gouv.vitam.common.utils.VitamReaderSpliterator
- All Implemented Interfaces:
Spliterator<String>
Vitam reader Spliterator.
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.Spliterator
Spliterator.OfDouble, Spliterator.OfInt, Spliterator.OfLong, Spliterator.OfPrimitive<T extends Object,
T_CONS extends Object, 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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
long
boolean
tryAdvance
(Consumer<? super String> action) trySplit()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Spliterator
forEachRemaining, getComparator, getExactSizeIfKnown, hasCharacteristics
-
Constructor Details
-
VitamReaderSpliterator
Constructor.- Parameters:
reader
-
-
-
Method Details
-
tryAdvance
- Specified by:
tryAdvance
in interfaceSpliterator<String>
-
trySplit
- Specified by:
trySplit
in interfaceSpliterator<String>
-
estimateSize
public long estimateSize()- Specified by:
estimateSize
in interfaceSpliterator<String>
-
characteristics
public int characteristics()- Specified by:
characteristics
in interfaceSpliterator<String>
-