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

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -