public interface Reducer<I1,I2,O> extends Fn2<I1,I2,O>
Reducer
can be implemented
in place of an Fn2
to communicate
that the functions reduces two values to one.
This type does not provide anything over Fn2
but,
where appropriate, being a more specific nominative type,
solely for communication purposes.
Reducer
s as argument types, but always
implement method signatures to accept Fn2
.Copyright © 2016. All rights reserved.