title: Java Generic - subtypes check?
body: <p>How do I check generic subtypes passed as parameter?</p>
  
  <p>For example:</p>
  
  <pre><code>public class A&lt;T&gt; { public T get();}
  public class AString extends A&lt;String&gt; {}
  public class ADate extends A&lt;Date&gt; {}
  
  public void checkparam(List&lt;? extends A&lt;?&gt;&gt; params) {
  ///Want to check if params is of type List&lt;AString&gt; or List&lt;ADate&gt; ?
  }
  </code></pre>
  
  <p>Is it possible? What part I am not understanding?</p>