Package | Description |
---|---|
ratpack.func |
General functional (i.e. Single Abstract Method) types.
|
ratpack.stream |
Support for reactive streams.
|
Modifier and Type | Method and Description |
---|---|
default <V> BiFunction<I1,I2,V> |
BiFunction.andThen(Function<? super O,? extends V> transform) |
Modifier and Type | Method and Description |
---|---|
static <T,R> Promise<R> |
Streams.reduce(Publisher<T> publisher,
R seed,
BiFunction<R,T,R> reducer)
Reduces the stream to a single value, by applying the given function successively.
|
default <R> Promise<R> |
TransformablePublisher.reduce(R seed,
BiFunction<R,T,R> reducer)
Reduces the stream to a single value, by applying the given function successively.
|