Interface ToCharIntCharFunc

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface ToCharIntCharFunc
    Function-Pointer Input: int, char Output: char.

    For a LAMBDA or method that accepts two primitive-inputs ('int' and 'char'), and returns a 'char'.

    • Method Summary

      @FunctionalInterface: (Lambda) Method
      Modifier and Type Method
      char apply​(int i, char c)
    • Method Detail

      • apply

          🗕  🗗  🗖
        char apply​(int i,
                   char c)
        This method must take an 'int' and a 'char', and return a 'char'.

        FunctionalInterface Target-Method:
        This method corresponds to the @FunctionalInterface Annotation's method requirement. It is the only non-default, non-static method in this interface, and may be the target of a Lambda-Expression or '::' (double-colon) Function-Pointer.
        i - The first input-parameter, of type 'int'.
        c - The second input-parameter, of type 'char'.
        The 'char' result.