jsr166y.forkjoin
Interface Ops.Reducer<T>

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).


Method Summary
 T combine(T t, T v)
           
 

Method Detail

combine

T combine(T t,
          T v)
Specified by:
combine in interface Ops.Combiner<T,T,T>