Interface ToCharIntTFunc<T>

  • Type Parameters:
    T - The type of the second (last) input-parameter.
    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 ToCharIntTFunc<T>
    Function-Pointer Input: int, T 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, T t)
    • Method Detail

      • apply

          🗕  🗗  🗖
        char apply​(int i,
                   T t)
        This method must take an 'int' and an instance of generic-type 'T', 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.
        Parameters:
        i - The first input-parameter, of type 'int'.
        t - The second input-parameter, of generic-type 'T'.
        Returns:
        The 'char' result.