Package io.molr.mole.core.tree.tracking
Class BlockCombiner<T>
- java.lang.Object
-
- io.molr.mole.core.tree.tracking.BlockCombiner<T>
-
- All Implemented Interfaces:
BlockTracker<T>
public class BlockCombiner<T> extends java.lang.Object implements BlockTracker<T>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Flux<T>
asStream()
static <T> BlockCombiner<T>
combine(java.util.List<reactor.core.publisher.Flux<T>> inputs, T defaultValue, java.util.function.Function<java.lang.Iterable<T>,T> summarizer)
T
result()
-
-
-
Method Detail
-
combine
public static <T> BlockCombiner<T> combine(java.util.List<reactor.core.publisher.Flux<T>> inputs, T defaultValue, java.util.function.Function<java.lang.Iterable<T>,T> summarizer)
-
asStream
public reactor.core.publisher.Flux<T> asStream()
- Specified by:
asStream
in interfaceBlockTracker<T>
-
result
public T result()
- Specified by:
result
in interfaceBlockTracker<T>
-
-