Modifier and Type | Interface and Description |
---|---|
interface |
UnaryIOOperator<T>
Represents an operation on a single operand that produces a result of the same type as its operand.
|
Modifier and Type | Method and Description |
---|---|
default <V> IOFunction<T,V> |
IOFunction.andThen(IOFunction<? super R,? extends V> after)
Returns a composed function that first applies this function to its input, and then applies the
after function to the result. |
static <T,R> IOFunction<T,R> |
IOFunction.checked(Function<? super T,? extends R> function)
Returns a function that applies the
function function to its input, and unwraps any UncheckedIOException that is thrown by
throwing its cause . |
default <V> IOFunction<V,R> |
IOFunction.compose(IOFunction<? super V,? extends T> before)
Returns a composed function that first applies the
before function to its input, and then applies this function to the result. |
static <T> IOFunction<T,T> |
IOFunction.identity()
Returns a function that always returns its input argument.
|
Modifier and Type | Method and Description |
---|---|
default <V> IOBiFunction<T,U,V> |
IOBiFunction.andThen(IOFunction<? super R,? extends V> after)
Returns 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 function that first applies this function to its input, and then applies the
after function to the result. |
default <V> IOFunction<V,R> |
IOFunction.compose(IOFunction<? super V,? extends T> before)
Returns a composed function that first applies the
before function to its input, and then applies this function to the result. |
static <T,R> Function<T,R> |
IOFunction.unchecked(IOFunction<? super T,? extends R> function)
Returns a function that applies the
function function to its input, and wraps any IOException that is thrown in an
UncheckedIOException . |
Copyright © 2017–2020. All rights reserved.