- All Implemented Interfaces:
Runnable
Runnable that can only be run one time.
-
Constructor Summary
Constructors
-
Method Summary
boolean
true
if the
RunOnce
has been executed once.
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
run
public void run()
- Specified by:
run
in interface Runnable
-
hasRun
public boolean hasRun()
true
if the
RunOnce
has been executed once.