title: Process is not within bounds of type-variable T
body: <p>I'm trying to compile my project but I get the following error:<br>
  "error: type argument Process is not within bounds of type-variable T"</p>
  
  <pre><code>public class Heap&lt;T extends Comparable&lt;T&gt;&gt; {
      // ...
  }
  
  public class Process {
      // ...
  }
  
  public class HeapDemo{
      public static void main(final String[] args) {      
          Heap&lt;Process&gt; heap = new Heap&lt;Process&gt;(); //error here
      }   
  }
  </code></pre>
  
  <p>The program is a CPU scheduling simulation using heaps, if that helps any.</p>