public abstract class Task
extends java.lang.Object
implements java.lang.Runnable
We prefer the use of Task over Runnable since the JVM can more efficiently invoke methods of an abstract class than a interface.
| Constructor and Description |
|---|
Task() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
run() |