Name

Runnable

Synopsis

This interface is implemented by a class containing code that is to be run either in a thread of its own or with a TimerTask. The code to be scheduled should be implemented in the run() method.

public interface Runnable {  
// Public Instance Methods
   public abstract void run();  
}

Implementations

Thread, java.util.TimerTask

Passed To

Thread.Thread(), javax.microedition.lcdui.Display.callSerially()

Get J2ME in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.