title: Is it possible to specify both upper and lower bound constraints on type parameters in Java?
body: <p>Is it possible to specify both upper and lower bound constraints on type parameters in Java?</p>
  
  <p>I found <a href="http://forums.sun.com/thread.jspa?forumID=316&amp;threadID=495917" rel="nofollow noreferrer">a conversation in Sun's forum</a> in which this issue was discussed (apparently before the generics feature was finalized), but there was no final answer.</p>
  
  <p>In summary, is there a valid syntax to do the following?</p>
  
  <pre><code>public class MyClass&lt;T extends Number super Integer&gt;
  </code></pre>