Interface Sum1<A,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 Sum1<A,R>
Interface for lambdas that accept a result parameter and a value parameter and return a value of the same type as the result parameter.
  • Method Summary

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

    • apply

      R apply(R sum, A a)