title: Java: Parameterized Runnable
body: <p>Standard <code>Runnable</code> interface has only non-parametrized <code>run()</code> method. There is also <code>Callable&lt;V&gt;</code> interface with <code>call()</code> method returning result of generic type. I need to pass generic parameter, something like this: <pre><code><code>interface MyRunnable&lt;E&gt; {
    public abstract void run(E reference);
  }</code></pre></code>
  Is there any standard interface for this purpose or I must declare that basic one by myself?</p>