Interface Sum2Throws<A,B,R,E extends Exception>

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 Sum2Throws<A,B,R,E extends Exception>
Interface for lambdas that accept a result parameter and 2 value parameters and return a value of the same type as the result parameter or might throw an exception.
  • 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) throws E
      Throws:
      E