title: Generic abstract class extending generic class
body: <p>It's likely that I'm not using the correct terminology here, so please excuse me in that case.</p>
  
  <p>I have a class:</p>
  
  <pre><code>public class HandleArtist extends ArtistDAO
  </code></pre>
  
  <p>that handles database changes for the <code>Artist</code> entity/type. There are many similar classes with the same structure:</p>
  
  <ul>
  <li><code>HandleAlbum extends AlbumDAO</code>, for <code>Album</code> entity/type</li>
  <li><code>HandleTrack extends TrackDAO</code>, for <code>Track</code> entity/type</li>
  <li>etc.</li>
  </ul>
  
  <p>All those "Handle"-classes have (or should at least have) basically the same methods. In order to make sure that I really have the same methods and structure, I thought that making an <code>abstract</code> base class that I then extend all "handle"-classes to, could be a good idea.</p>
  
  <p>So I tried to make an abstract class like:</p>
  
  <pre><code>public abstract class Handler&lt;T1&gt; extends &lt;T2&gt;
  </code></pre>
  
  <p>which didn't work. Is there a way to do this?</p>