Merge branch 'master' of github.com:iluwatar/java-design-patterns into java-11

This commit is contained in:
Anurag Agarwal
2020-08-03 15:42:18 +00:00
364 changed files with 8560 additions and 2291 deletions

View File

@ -81,7 +81,7 @@ public abstract class Master {
for (var i = 0; i < this.expectedNumResults; i++) {
//ith division given to ith worker in this.workers
this.workers.get(i).setReceivedData(this, dividedInput.get(i));
this.workers.get(i).run();
this.workers.get(i).start();
}
}
}