title: Java generics - Make Generic to extends 2 interfaces
body: <p>How do you make this work:</p>
  
  <pre><code>public class Frankenstein&lt;T extends IHuman, IMonster&gt;{
  }
  </code></pre>
  
  <p>Without making </p>
  
  <pre><code>public interface Weirdo extends Ihuman, IMonster{
  }
  </code></pre>
  
  <p><strong>Edit</strong></p>
  
  <p>Why is this not working?</p>
  
  <pre><code>public &lt;T&gt; void mapThis(
          Class&lt;? extends MyClass&lt;T&gt;&gt; key, Class&lt;? extends T &amp; IDisposable&gt; value) {
  
  }
  </code></pre>
  
  <p>I am getting compiler message marking <code>Class&lt;? extends T &amp; IDisposable&gt;</code> as an Error.</p>