generics - Java: Subclassing a genericised class -


I have a generalized class that I want to subcategory:

  public class SomeTable & Lt; Tee BaseTable Entry & gt; BaseTable extension & lt; T & gt; {PUBLIC SATTABLE (int rows, ant cols) {super (lines, colonels, fewteenth enterter classes); // is not compiled: // symbol can not be found: Constructor baseTable (int, int, java.lange class  
< P> ... where is the generalized superclass:

  public square base table & lt; Tee BaseTable Entry & gt; {Public BaseTable (int rows, ant cols, class & lieutenant; T & gt; clays) {...} ...}  

I understand the compiler error, but an alternative Unable to find the solution,

Any suggestions?

Thanks

It compiles:

 < Code> Public Class Expands SomeTable BaseTable & lt; SomeTableEntry & gt; {PUBLIC SATTABLE (int rows, ant cols) {super (lines, colonels, fewteenth enterter classes); }}  

It works with an artist:

  Public square SomeTable & lt; Tee BaseTable Entry & gt; BaseTable extension & lt; T & gt; {PUBLIC SATTABLE (int rows, int colals) {super (lines, columns, (class & lieutenant; T & gt;) fewteenthentry.class); }}  

But I'm eager to post an explanation for why the compiler needs an artist for a class.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -