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 Type
    Method
    Description
    void
    Sets a function implementation that operates on a specific input type and produces a result.
  • Method Details

    • withImplementation

      void withImplementation(Function<T,?> function)
      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 type T and returns a result.