- All Superinterfaces:
- Ops.Combiner<T,T,T>
- Enclosing class:
- Ops
public static interface Ops.Reducer<T>
extends Ops.Combiner<T,T,T>
A specialized combiner that is associative and accepts pairs of
objects of the same type and returning one of the same
type. Like for example, an addition operation, a Reducer must
be associative: combine(a, combine(b, c)) should have
the same result as combine(combine(a, b), c).