Package | Description |
---|---|
org.apache.commons.io.function |
IO-only related functional interfaces provide target types for lambda expressions and method references.
|
Modifier and Type | Method and Description |
---|---|
default <V> IOFunction<T,V> |
IOFunction.andThen(Function<? 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 <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 <V> IOFunction<V,R> |
IOFunction.compose(Function<? 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 <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. |
static <T> IOFunction<T,T> |
IOFunction.identity()
Returns a
IOFunction that always returns its input argument. |
Modifier and Type | Method and Description |
---|---|
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 <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. |
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.