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
    ToCharIntCharFunc Documentation.

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




    • 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.