2829303132333435363738
@Override public UpdateableMeans compute(Collection<UpdateableMeans> workerUpdates, Collection<UpdateableMeans> masterUpdates) { Means means = um.get(); means.reset(); for(UpdateableMeans m : workerUpdates) { System.out.println(m); means.merge(m.get()); }