Is there any point in declaring a class with \"concrete\" types as generics?
If yes, what\'s the use for it?
If no, any specific reason why the compiler is
It's not what you think. You're creating a generic type parameter called Integer which shadows java.lang.Integer.
Integer
java.lang.Integer