-
-
Constructor Summary
Constructors
Constructor and Description |
Stoppable() |
-
Method Summary
Methods
Modifier and Type |
Method and Description |
protected abstract void |
doRun() |
boolean |
isStopped() |
void |
run() |
void |
stop() |
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
Stoppable
public Stoppable()
-
Method Detail
-
stop
public final void stop()
-
run
public final void run()
- Specified by:
run
in interface Runnable
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.