title: java interface input argument extends from a base class
body: <p>I want to create an interface that allows any implementation class like this:</p>
  
  <pre><code>public interface MyInterface
  {
  
     void doSomething( &lt;A extends MyBaseClass&gt; arg1);
  }
  
  public class MyImpl implements MyInterface
  {
    void doSomething ( SomeClassExtendsMyBaseClass arg1)
    {
      // do something
      // SomeClassExtendsMyBaseClass is a class that extends MyBaseClass
     }
  }
  </code></pre>
  
  <p>I get a syntax error when doing the above. Can someone show me how to accomplish this goal?</p>
  
  <p>Thanks</p>