java.lang.Object
org.ematgine.utils.concurrent.TimeDaemon.RunLoop
- All Implemented Interfaces:
- java.lang.Runnable
- Enclosing class:
- TimeDaemon
- protected class TimeDaemon.RunLoop
- extends java.lang.Object
- implements java.lang.Runnable
The runloop is isolated in its own Runnable class
just so that the main
class need not implement Runnable, which would
allow others to directly invoke run, which would
never make sense here.
|
Method Summary |
void |
run()
This method will be called by whoever wishes to run your class
implementing Runnable. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimeDaemon.RunLoop
protected TimeDaemon.RunLoop()
run
public void run()
- Description copied from interface:
java.lang.Runnable
- This method will be called by whoever wishes to run your class
implementing Runnable. Note that there are no restrictions on what
you are allowed to do in the run method, except that you cannot
throw a checked exception.
- Specified by:
run in interface java.lang.Runnable