Interface DoubleFunction2N<T>

  • Type Parameters:
    T - The function return type.
    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 DoubleFunction2N<T>
    Represents a function that accepts two double values and returns a result.
    • Method Detail

      • apply

        T apply​(double n1,
                double n2)
        Apply the function and return the result.
        Parameters:
        n1 - first function argument
        n2 - second function argument
        Returns:
        the function result