Module parallel.collectors
Package com.pivovarit.collectors
Class ParallelStreamCollector.BatchingCollectors
java.lang.Object
com.pivovarit.collectors.ParallelStreamCollector.BatchingCollectors
- Enclosing class:
ParallelStreamCollector<T,
R>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbatchingCollector
(Function<T, R> mapper, Executor executor, int parallelism) streamingOrdered
(Function<T, R> mapper, Executor executor, int parallelism) private static <T,
R> Collector <T, Stream.Builder<R>, Stream<R>> syncCollector
(Function<T, R> mapper)
-
Constructor Details
-
BatchingCollectors
private BatchingCollectors()
-
-
Method Details
-
streaming
-
streamingOrdered
-
batchingCollector
-
syncCollector
-