List of usage examples for java.lang Runnable interface-usage
From source file Main.java
class Accessor implements Runnable { Map<String, String> map; public Accessor(Map<String, String> map) { this.map = map; }
From source file com.apress.prospringintegration.corespring.iocbasics.BasicThreadColorRunnable.java
public class BasicThreadColorRunnable implements Runnable { ApplicationContext ctx; public BasicThreadColorRunnable(ApplicationContext ctx) { this.ctx = ctx; }
From source file org.trpr.platform.servicefw.spi.notifier.MetricsListener.java
/**
* <code>MetricsListener</code> is a class that takes a list of {@link MetricsEvaluator}
* and calls their notifiers at specified intervals.
*
* @author devashishshankar
* @version 1.0, 13th March, 2013
From source file de.klemp.middleware.examples.receptor_software.vlc.VLCControl.java
/**
* This class is a copy from:
* https://forum.videolan.org/viewtopic.php?f=14&t=85347 Exposes control of VLC
* media player (videolan.org) from java. VLC must be set up to open a telnet
* control on localhost:4444.
* <p>
From source file com.cai.RGBLed.java
/** * This class encapsulates the calls to the python script that handles RGB Led commands. * * @author Fabio Silva (silfabio@amazon.com) */ public class RGBLed implements Runnable {
From source file org.latticesoft.util.common.TestRunnable.java
public class TestRunnable implements Runnable { private static final Log log = LogFactory.getLog(TestRunnable.class); private int sleepCount = 10; private int id = 0; /** @return Returns the id. */
From source file TimeMIDlet.java
public class TimeMIDlet extends MIDlet implements CommandListener, Runnable { private Display display; private Form addressForm = new Form("Network Time"); private Form connectForm = new Form("Sending"); private Form displayForm = new Form("Server Reply"); private Command backCommand = new Command("Back", Command.BACK, 0);
From source file HttpMIDlet.java
public class HttpMIDlet extends MIDlet implements CommandListener, Runnable { private Display display; private Form addressForm = new Form("HTTP Client"); private Form connectForm = new Form("Connecting"); private Form displayForm = new Form("Server Reply"); private TextField serverURL = new TextField("URL:", "", 256, TextField.ANY);
From source file edu.gmu.isa681.client.model.ClientImpl.java
final class ClientImpl implements Runnable { Log log = LogFactory.getLog(ClientImpl.class); private String host; private int port;
From source file ParenMatcher.java
public class ParenMatcher extends JTextPane implements Runnable { public static Color[] matchColor = { Color.blue, Color.magenta, Color.green }; public static Color badColor = Color.red;