wichtige Thread-Methoden
static Thread currentThread();
static void yield();
static void sleep(long millis) throws InterruptedException;
static void> sleep(long millis, int nanos) throws InterruptedException;
static boolean interrupted();
static int activeCount();
Thread();
Thread(Runnable target);
Thread(ThreadGroup group, Runnable target);
Thread(String name);
Thread(ThreadGroup group, String name);
Thread(ThreadGroup group, Runnable target, String name);
void run();
final void stop();
final void stop(Throwable o);
void interrupt();
boolean isInterrupted();
boolean isInterrupted(boolean ClearInterrupted);
boolean isAlive();
void suspend();
void resume();
void setPriority(int newPriority);
int getPriority();
void setName(String name);
String getName();
ThreadGroup getThreadGroup();
void join();
void join(long millis) throws InterruptedException;
void join(long millis, int nanos) throws InterruptedException;
void setDaemon(boolean on);
boolean isDaemon();
| void checkAccess();
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |