Interface Reducer<T>
- Type Parameters:
T- the type of the arguments and the result
- All Superinterfaces:
BiFunction<T,,T, T> Operation,Serializable
The
Reducer performs an operation on two values of the same type producing a result of the same type.-
Method Summary
-
Method Details
-
apply
Applies this function to the given arguments.- Specified by:
applyin interfaceBiFunction<T,T, T> - Parameters:
arg1- the first argumentarg2- the second argument- Returns:
- the result
-