Thread and Executor Service Assignment
Revision as of 09:47, 15 February 2022 by Cosgroved (talk | contribs) (→ThreadHalfAndHalfNucleobaseCounter)
Contents
Building On Previous Exercises
Be sure to complete the Half & Half and Coarsening exercises first.
Code To Implement
DefaultThreadFactory
| class: | DefaultThreadFactory.java | |
| methods: | newThread | |
| package: | threadfactory.exercise | |
| source folder: | student/src/main/java |
method: public Thread newThread(Runnable target)
(sequential implementation only)
ThreadHalfAndHalfNucleobaseCounter
| class: | ThreadHalfAndHalfNucleobaseCounter.java | |
| methods: | constructor threadFactory count |
|
| package: | count.exercise | |
| source folder: | student/src/main/java |
constructor
threadFactory
count
method: public int count(byte[] chromosome, Nucleobase targetNucleobase)
(parallel implementation required)
Correctness
| class: | __ThreadAndExecutorTestSuite.java | |
| package: | count.exercise | |
| source folder: | testing/src/test/java |
Pledge, Acknowledgments, Citations
| file: | thread-and-executor-pledge-acknowledgments-citations.txt |
More info about the Honor Pledge