com.jogamp.common.util

## Interface RunnableExecutor

- All Known Implementing Classes:
    AWTEDTExecutor, RunnableExecutor.CurrentThreadExecutor

      public interface RunnableExecutor

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `RunnableExecutor.CurrentThreadExecutor`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static RunnableExecutor` | `currentThreadExecutor` This `RunnableExecutor` implementation simply invokes `Runnable.run()` on the current thread.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `invoke(boolean wait, Runnable r)`

- - ### Field Detail

    - #### currentThreadExecutor

          static final RunnableExecutor currentThreadExecutor

      This `RunnableExecutor` implementation simply invokes `Runnable.run()` on the current thread.

  - ### Method Detail

    - #### invoke

          void invoke(boolean wait,
                    Runnable r)

      Parameters:
        `wait` - if true method waits until `Runnable.run()` is completed, otherwise don't wait.
        `r` - the `Runnable` to be executed.