Package com.symphony.api.bindings
Class Streams.Worker<X>
- java.lang.Object
-
- com.symphony.api.bindings.Streams.Worker<X>
-
- All Implemented Interfaces:
Spliterator<X>
- Enclosing class:
- Streams
public abstract static class Streams.Worker<X> extends Object implements Spliterator<X>
-
-
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 Modifier and Type Field Description protected boolean
running
-
Fields inherited from interface java.util.Spliterator
CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED
-
-
Constructor Summary
Constructors Constructor Description Worker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
characteristics()
long
getExactSizeIfKnown()
void
shutdown()
Stream<X>
stream()
Spliterator<X>
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
estimateSize, forEachRemaining, getComparator, hasCharacteristics, tryAdvance
-
-
-
-
Method Detail
-
shutdown
public void shutdown()
-
trySplit
public Spliterator<X> trySplit()
- Specified by:
trySplit
in interfaceSpliterator<X>
-
getExactSizeIfKnown
public long getExactSizeIfKnown()
- Specified by:
getExactSizeIfKnown
in interfaceSpliterator<X>
-
characteristics
public int characteristics()
- Specified by:
characteristics
in interfaceSpliterator<X>
-
-