-
public static Thread currentThread()
-
public final int getPriority()
-
public final void setPriority(int)
-
public static void yield()
- Causes the currently executing thread object to temporarily pause
and allow other threads to execute.
-
public static void sleep(long millis[, int nanos]) throws InterruptedException
-
public synchronized void start()
-
public void stop()
-
public void suspend()
-
public final void resume()
-
public void join()
-
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.
-
public void destroy()
-
public void interrupt()
-
public final boolean isAlive()
-
public String toString()
- Returns a string representation of this thread, including the
thread's name, priority, and thread group.
|