public static class RunnableExecutor.CurrentThreadExecutor extends Object implements RunnableExecutor
RunnableExecutor.CurrentThreadExecutorcurrentThreadExecutorpublic void invoke(boolean wait,
Runnable r)
invoke in interface RunnableExecutorwait - if true method waits until Runnable.run() is completed, otherwise don't wait.r - the Runnable to be executed.