ThreadFactory.newThread

Constructs a new {@code Thread}. Implementations may also initialize priority, name, daemon status, {@code ThreadGroupEx}, etc.

@param r a runnable to be executed by new thread instance @return constructed thread, or {@code null} if the request to create a thread is rejected

interface ThreadFactory
Thread
newThread
(
Runnable r
)

Meta