|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
public final class Thread
| Field Summary | |
|---|---|
static int |
MAX_PRIORITY
The maximum priority that a thread can have. |
static int |
MIN_PRIORITY
The minimum priority that a thread can have. |
static int |
NORM_PRIORITY
The default priority that is assigned to a thread. |
| Method Summary | |
|---|---|
static int |
activeCount()
|
static Thread |
currentThread()
|
String |
getName()
|
int |
getPriority()
|
void |
interrupt()
|
boolean |
isAlive()
|
void |
join()
|
void |
run()
This method will be called by whoever wishes to run your class implementing Runnable. |
void |
setDaemon(boolean setting)
|
void |
setPriority(int newPriority)
|
static void |
sleep(long millis)
|
void |
start()
|
String |
toString()
|
static void |
yield()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait |
| Field Detail |
|---|
public static final int MAX_PRIORITY
public static final int MIN_PRIORITY
public static final int NORM_PRIORITY
| Method Detail |
|---|
public static int activeCount()
public static Thread currentThread()
public String getName()
public int getPriority()
public void interrupt()
public boolean isAlive()
public void join()
public void run()
Runnable
run in interface Runnablepublic void setPriority(int newPriority)
public static void sleep(long millis)
public void start()
public String toString()
toString in class Objectpublic static void yield()
public void setDaemon(boolean setting)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||