# | Line 17 | Line 17 | public class MapReduceDemo { | |
---|---|---|
17 | * Sequential version, for performance comparison | |
18 | */ | |
19 | static <T, U> U seqMapReduce(T[] array, | |
20 | < | Ops.Op<T, U> mapper, |
20 | > | Ops.Op<T,U> mapper, |
21 | Ops.Reducer<U> reducer, | |
22 | U base) { | |
23 | int n = array.length; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |