Package org.aksw.commons.util.function
Class FunctionUtils
java.lang.Object
org.aksw.commons.util.function.FunctionUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <O,I extends O>
Function<I,O> nullToIdentity(Function<I, O> fn) Wrap a function such that whenever it would return null it would return the argument instead
-
Constructor Details
-
FunctionUtils
public FunctionUtils()
-
-
Method Details
-
nullToIdentity
Wrap a function such that whenever it would return null it would return the argument instead
-