Java - Comparable wiithout generic now? -


for reason, typing:

    class something<t extends comparable<t>> {  } 

gets error: type comparable not take parameters

but writing now:

    class something<t extends comparable> {  } 

does compile. why? tried out on javac version 1.7.0.51. missing something? or have removed don't need type generic param on comparable?


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -