default <V> IOBiFunction<T,U,V> |
IOBiFunction.andThen(IOFunction<? super R,? extends V> after) |
Creates a composed function that first applies this function to its input, and then applies the after
function to the result.
|
default <V> IOFunction<T,V> |
IOFunction.andThen(IOFunction<? super R,? extends V> after) |
Returns a composed IOFunction that first applies this function to its input, and then applies the
after function to the result.
|
default <X> IOQuadFunction<T,U,V,W,X> |
IOQuadFunction.andThen(IOFunction<? super R,? extends X> after) |
Creates a composed function that first applies this function to its input, and then applies the after
function to the result.
|
default <W> IOTriFunction<T,U,V,W> |
IOTriFunction.andThen(IOFunction<? super R,? extends W> after) |
Creates a composed function that first applies this function to its input, and then applies the after
function to the result.
|
static <T,R> R |
Uncheck.apply(IOFunction<T,R> function,
T t) |
Applies an IO function with the given arguments.
|
default <V> IOFunction<V,R> |
IOFunction.compose(IOFunction<? super V,? extends T> before) |
Returns a composed IOFunction that first applies the before function to its input, and then applies
this function to the result.
|
default <R> IOStream<R> |
IOStream.flatMap(IOFunction<? super T,? extends IOStream<? extends R>> mapper) |
Like Stream.flatMap(java.util.function.Function) .
|
default java.util.stream.DoubleStream |
IOStream.flatMapToDouble(IOFunction<? super T,? extends java.util.stream.DoubleStream> mapper) |
TODO Package-private for now, needs IODoubleStream?
Adding this method now and an IO version later is an issue because call sites would have to type-cast to pick one.
|
default java.util.stream.IntStream |
IOStream.flatMapToInt(IOFunction<? super T,? extends java.util.stream.IntStream> mapper) |
TODO Package-private for now, needs IOIntStream?
Adding this method now and an IO version later is an issue because call sites would have to type-cast to pick one.
|
default java.util.stream.LongStream |
IOStream.flatMapToLong(IOFunction<? super T,? extends java.util.stream.LongStream> mapper) |
TODO Package-private for now, needs IOLongStream?
Adding this method now and an IO version later is an issue because call sites would have to type-cast to pick one.
|
default <R> IOStream<R> |
IOStream.map(IOFunction<? super T,? extends R> mapper) |
Like Stream.map(java.util.function.Function) .
|