public abstract static class Threading.NamedRunnable
extends java.lang.Object
implements java.lang.Runnable
Runnable r = new NamedRunnable("thread for eating cookies") {
void runImpl() {
// eat cookies
}
});
Constructor and Description |
---|
NamedRunnable(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
protected abstract void |
runImpl() |