java.lang
Interface Runnable

All Known Implementing Classes:
GPS, Keyboard, LCPBTResponder, LCPResponder, Motor.Regulator, RConsole, RCXRotationSensor, RCXRotationSensor.Reader, SimpleGPS, Thread

public interface Runnable

Class to allow an object to execute code. This interface should be implemented by any class which wishes to allow its instances to execute via a thread.

The implmenting class must define a single method Run which takes no arguments and returns nothing. This method will be called by a thread when the thread is started.

Author:
andy

Method Summary
 void run()
          When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.
 

Method Detail

run

void run()
When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.