Module pro.verron.officestamper
Package pro.verron.officestamper.api
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 TypeMethodDescriptionvoid
withImplementation
(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 typeT
and returns a result.
-