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.

    @FunctionalInterface
    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'.
        Parameters:
        i - The first input-parameter, of type 'int'.
        c - The second input-parameter, of type 'char'.
        Returns:
        The 'char' result.