Class Functions
- java.lang.Object
-
- org.apache.commons.lang3.function.Functions
-
public final class Functions extends java.lang.Object
Factory forFunction
.- Since:
- 3.14.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T,R>
java.util.function.Function<T,R>function(java.util.function.Function<T,R> function)
Starts a fluent chain likefunction(foo::bar).andThen(...).andThen(...).apply(...);
-
-
-
Method Detail
-
function
public static <T,R> java.util.function.Function<T,R> function(java.util.function.Function<T,R> function)
Starts a fluent chain likefunction(foo::bar).andThen(...).andThen(...).apply(...);
- Type Parameters:
T
- Input type.R
- Return type.- Parameters:
function
- the argument to return.- Returns:
- the argument
-
-