Package | Description |
---|---|
org.apache.commons.lang3 |
Provides highly reusable static utility methods, chiefly concerned with adding value to the
java.lang classes. |
Modifier and Type | Method and Description |
---|---|
static <I,O,T extends Throwable> |
Functions.apply(Functions.FailableFunction<I,O,T> function,
I input)
Applies a function and rethrows any exception as a
RuntimeException . |
static <I,O> Function<I,O> |
Functions.asFunction(Functions.FailableFunction<I,O,?> function)
Converts the given
Functions.FailableFunction into a standard Function . |
<R> Streams.FailableStream<R> |
Streams.FailableStream.map(Functions.FailableFunction<O,R,?> mapper)
Returns a stream consisting of the results of applying the given
function to the elements of this stream.
|
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.