| Package | Description |
|---|---|
| org.davidmoten.kool | |
| org.davidmoten.kool.internal.operators.stream | |
| org.davidmoten.kool.internal.util |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Collector<T,R> |
| Modifier and Type | Method and Description |
|---|---|
default <S> Stream<S> |
Stream.bufferUntil(Callable<? extends S> factory,
BiFunction<? super S,? super T,? extends S> accumulator,
BiPredicate<? super S,? super T> condition,
boolean emitRemainder,
Function<? super S,Integer> step,
int maxReplay) |
default <S> Stream<S> |
Stream.bufferWhile(Callable<? extends S> factory,
BiFunction<? super S,? super T,? extends S> accumulator,
BiPredicate<? super S,? super T> condition,
boolean emitRemainder,
Function<? super S,Integer> step,
int maxReplay) |
default Maybe<T> |
Stream.reduce(BiFunction<? super T,? super T,? extends T> reducer) |
default <R> Single<R> |
Stream.reduce(R initialValue,
BiFunction<? super R,? super T,? extends R> reducer) |
default <R> Single<R> |
Stream.reduceWithFactory(Callable<? extends R> initialValueFactory,
BiFunction<? super R,? super T,? extends R> reducer) |
default <R> Stream<R> |
Stream.scan(R initialValue,
BiFunction<? super R,? super T,? extends R> accumulator) |
default <R,S> Stream<S> |
Stream.zipWith(Stream<? extends R> stream,
BiFunction<T,R,S> combiner) |
| Constructor and Description |
|---|
BufferWithFactoryPredicateAndStep(Callable<? extends S> factory,
BiFunction<? super S,? super T,? extends S> accumulator,
BiPredicate<? super S,? super T> condition,
boolean emitRemainder,
boolean until,
Stream<T> source,
Function<? super S,Integer> step,
int maxReplay) |
ReduceNoInitialValue(BiFunction<? super T,? super T,? extends T> reducer,
StreamIterable<T> source) |
ReduceWithInitialValueSupplier(Callable<? extends R> initialValue,
BiFunction<? super R,? super T,? extends R> reducer,
StreamIterable<T> source) |
Zip(Stream<T> source1,
Stream<? extends R> source2,
BiFunction<T,R,S> combiner) |
| Modifier and Type | Method and Description |
|---|---|
static <T> BiFunction<List<T>,T,List<T>> |
StreamUtils.listAccumulator() |
Copyright © 2018–2023. All rights reserved.