I want limit type T that is a class which implements the Comparable<T> interface in a generic class
<p>I defined a generic class <code>A&lt;T&gt;</code> in Java, but I want to limit the type <code>T</code> such that it is a class which implements the <code>Comparable&lt;T&gt;</code> interface. What should i do?</p>
