Lines Matching refs:run
13 <li><a href="#RunMethod">Implement the run() Method</a>
33 in its {@link java.lang.Runnable#run Runnable.run()} method on a separate thread. You can also
35 run it. One or more {@link java.lang.Runnable} objects that perform a particular operation are
44 automatically manages threads and task queues, and can even run multiple threads in parallel.
54 public void run() {
56 * Code you want to run on the thread goes here
63 <h2 id="RunMethod">Implement the run() Method</h2>
65 In the class, the {@link java.lang.Runnable#run Runnable.run()} method contains the
73 At the beginning of the {@link java.lang.Runnable#run run()} method, set the thread to use
86 The following snippet shows how to set up the {@link java.lang.Runnable#run run()} method:
92 * Defines the code to run for this task.
95 public void run() {