com.jogamp.common.util
Class RunnableExecutor.CurrentThreadExecutor

java.lang.Object
  extended by com.jogamp.common.util.RunnableExecutor.CurrentThreadExecutor
All Implemented Interfaces:
RunnableExecutor
Enclosing interface:
RunnableExecutor

public static class RunnableExecutor.CurrentThreadExecutor
extends Object
implements RunnableExecutor


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.jogamp.common.util.RunnableExecutor
RunnableExecutor.CurrentThreadExecutor
 
Field Summary
 
Fields inherited from interface com.jogamp.common.util.RunnableExecutor
currentThreadExecutor
 
Method Summary
 void invoke(boolean wait, Runnable r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

invoke

public void invoke(boolean wait,
                   Runnable r)
Specified by:
invoke in interface RunnableExecutor
Parameters:
wait - if true method waits until Runnable.run() is completed, otherwise don't wait.
r - the Runnable to be executed.