Interface Sum1Throws<A,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 Sum1Throws<A,R,E extends Exception>
Interface for lambdas that accept a result parameter and 1 value parameter 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)
     
  • Method Details

    • apply

      R apply(R sum, A a) throws E
      Throws:
      E