Threads and Executors
Revision as of 21:36, 24 September 2017 by Cosgroved (talk | contribs) (→class SimpleThreadFactory)
Contents
Threads
class SimpleThreadFactory
implement Thread newThread(Runnable target)
Create and return a new thread with the target Runnable parameter you are passed.
Do *NOT* start this thread.
Certainly, do *NOT* run this thread.
Do not pass Go. Do not collect $200.
To repeat: just create a new Thread with the target Runnable and return it.
TAgeSum
implement int sumUpperLowerSplit(int[] ages, ThreadFactory threadFactory)