Interface CustomFunction.NeedsBiFunctionImpl<T,U>

Type Parameters:
T - the type of the first input to the BiFunction
U - the type of the second input to the BiFunction
Enclosing class:
CustomFunction

public static interface CustomFunction.NeedsBiFunctionImpl<T,U>
Represents a contract for classes that require the implementation of a BiFunction. A BiFunction is a functional interface that accepts two input arguments of types T and U, and produces a result.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Registers or sets a BiFunction implementation to be used by the client.
  • Method Details

    • withImplementation

      void withImplementation(BiFunction<T,U,?> object)
      Registers or sets a BiFunction implementation to be used by the client. The BiFunction accepts two input arguments of types T and U, and produces a result of an unspecified type.
      Parameters:
      object - the BiFunction implementation that defines the behavior for processing inputs of types T and U