public class NamePreservingRunnable
extends java.lang.Object
implements java.lang.Runnable
Runnable wrapper that preserves the name of the thread after the runnable is
complete (for Runnables that change the name of the Thread they use.)| 构造器和说明 |
|---|
NamePreservingRunnable(java.lang.Runnable runnable,
java.lang.String newName) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
run() |