Interface Func2<T1,​T2,​R>

  • Type Parameters:
    T1 - the first argument type
    T2 - the second argument type
    R - the result type
    All Superinterfaces:
    FiniteArgumentFunction<R>
    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 Func2<T1,​T2,​R>
    extends FiniteArgumentFunction<R>
    Represents a function with two arguments.