Interface CustomFunction.NeedsFunctionImpl<T>
- Type Parameters:
T- the type of the input to the function
- Enclosing class:
CustomFunction
public static interface CustomFunction.NeedsFunctionImpl<T>
The NeedsFunctionImpl interface specifies a contract for classes that require the implementation of a function
that operates on a specific type and produces a result.
-
Method Summary
Modifier and TypeMethodDescriptionwithImplementation(Function<T, ?> function) Sets a function implementation that operates on a specific input type and produces a result.
-
Method Details
-
withImplementation
Sets a function implementation that operates on a specific input type and produces a result.- Parameters:
function- the function implementation to set; it takes an input of typeTand returns a result.- Returns:
- the configuration object.
-