java.lang
Class Thread

java.lang.Object
  |
  +--java.lang.Thread

public abstract class Thread
extends Object

A thread (task) of execution.


Constructor Summary
Thread()
           
 
Method Summary
 boolean isAlive()
           
abstract  void run()
          Must be implemented by subclasses.
 void start()
          Starts this thread.
static void yield()
          Preempts the current thread.
 
Methods inherited from class java.lang.Object
getClass, toString
 

Constructor Detail

Thread

public Thread()
Method Detail

isAlive

public boolean isAlive()

start

public void start()
Starts this thread. May throw OutOfMemoryError if more than 254 threads are started.

run

public abstract void run()
Must be implemented by subclasses. Not to be called directly, execution of this method is scheduled by start().

yield

public static void yield()
Preempts the current thread.