Example usage for Java java.lang Runnable fields, constructors, methods, implement or subclass
The text is from its open source code.
Class> | getClass() Returns the runtime class of this Object . |
int | hashCode() Returns a hash code value for the object. |
void | notify() Wakes up a single thread that is waiting on this object's monitor. |
void | notifyAll() Wakes up all threads that are waiting on this object's monitor. |
void | run() When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread. |
String | toString() Returns a string representation of the object. |
void | wait(long timeoutMillis) Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed. |
void | wait() Causes the current thread to wait until it is awakened, typically by being notified or interrupted. |