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
Post a Comment