title: Generic Generics: "Syntax error on token "extends", , expected"
body: <pre><code>public interface View{...
  
  public interface Control&lt;V extends View&gt;{...
  
  public class RemoteControl&lt;C extends Control&lt;V extends View&gt;&gt; implements Control&lt;V&gt;{...
  </code></pre>
  
  <p>gives me a "Syntax error on token "extends", , expected" on "V extends View" for the RemoteControl class.</p>
  
  <p>I guess the following alternative was possible</p>
  
  <pre><code>public class RemoteControl&lt;C extends Control&lt;V&gt;,V extends View&gt; implements Control&lt;V&gt;
  {...
  </code></pre>
  
  <p>Still I wonder if this cannot be done in a more implicit way since the latter would require a redundant declaration of the View. I.e.:</p>
  
  <pre><code>public class TVRemoteControl extends RemoteControl&lt;TVControl,TvView&gt; implements TVControl{...
  </code></pre>
  
  <p>vs</p>
  
  <pre><code>public class TVRemoteControl extends RemoteControl&lt;TVControl&gt; implements TVControl{...
  </code></pre>
  
  <p>Maybe I'm just stuck in a box again, but is it possible to get the "generic Generics" in a more elegant way</p>