Interface IntTernaryOperator

  • 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 IntTernaryOperator
    A function of three arguments that returns a value.

    All the inputs and outputs are of type int.

    • Method Detail

      • applyAsInt

        int applyAsInt​(int a,
                       int b,
                       int c)
        Applies the function.
        Parameters:
        a - the first argument
        b - the second argument
        c - the third argument
        Returns:
        the result of the function