Interface LongTernaryOperator

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

    All the inputs and outputs are of type long.

    • Method Detail

      • applyAsLong

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