Package fr.gouv.vitam.common.utils
Class VitamReaderSpliterator
- java.lang.Object
-
- fr.gouv.vitam.common.utils.VitamReaderSpliterator
-
- All Implemented Interfaces:
java.util.Spliterator<java.lang.String>
public class VitamReaderSpliterator extends java.lang.Object implements java.util.Spliterator<java.lang.String>
Vitam reader Spliterator.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface java.util.Spliterator
java.util.Spliterator.OfDouble, java.util.Spliterator.OfInt, java.util.Spliterator.OfLong, java.util.Spliterator.OfPrimitive<T extends java.lang.Object,T_CONS extends java.lang.Object,T_SPLITR extends java.util.Spliterator.OfPrimitive<T,T_CONS,T_SPLITR>>
-
-
Constructor Summary
Constructors Constructor Description VitamReaderSpliterator(java.io.BufferedReader reader)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
characteristics()
long
estimateSize()
boolean
tryAdvance(java.util.function.Consumer<? super java.lang.String> action)
java.util.Spliterator<java.lang.String>
trySplit()
-
-
-
Method Detail
-
tryAdvance
public boolean tryAdvance(java.util.function.Consumer<? super java.lang.String> action)
- Specified by:
tryAdvance
in interfacejava.util.Spliterator<java.lang.String>
-
trySplit
public java.util.Spliterator<java.lang.String> trySplit()
- Specified by:
trySplit
in interfacejava.util.Spliterator<java.lang.String>
-
estimateSize
public long estimateSize()
- Specified by:
estimateSize
in interfacejava.util.Spliterator<java.lang.String>
-
characteristics
public int characteristics()
- Specified by:
characteristics
in interfacejava.util.Spliterator<java.lang.String>
-
-