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 - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -