Class Thread: Selected methods


 o public static Thread currentThread()
 o public final int getPriority()
 o public final void setPriority(int)
 o public static void yield()
Causes the currently executing thread object to temporarily pause and allow other threads to execute.
 o public static void sleep(long millis[, int nanos]) throws InterruptedException
 o public synchronized void start()
 o public void stop()
 o public void suspend()
 o public final void resume()
 o public void join()
 o public void run()
If this thread was constructed using a separate Runnable run object, then that Runnable object's run method is called; otherwise, this method does nothing and returns. Subclasses usualy overwrite this method.
 o public void destroy()
 o public void interrupt()
 o public final boolean isAlive()
 o public String toString()
Returns a string representation of this thread, including the thread's name, priority, and thread group.

Java Tutorial - Standard Classes Jens Trapp, 1997