public static class JSR166TestCase.SimpleThreadFactory extends Object implements ThreadFactory
Constructor and Description |
---|
SimpleThreadFactory() |
public Thread newThread(Runnable r)
ThreadFactory
Thread
. Implementations may also initialize
priority, name, daemon status, ThreadGroup
, etc.newThread
in interface ThreadFactory
r
- a runnable to be executed by new thread instancenull
if the request to
create a thread is rejected