Interface Sum2<A,B,R>

Type Parameters:
A - value type
R - result 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 Sum2<A,B,R>
Interface for lambdas that accept a result parameter and 2 value parameters and return a value of the same type as the result parameter.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(R sum, A a, B b)
     
  • Method Details

    • apply

      R apply(R sum, A a, B b)