I don't have an actual problem, I was just playing around with Java Generics and I realized that if I create a class with Generics, I can use any name for the generic part of the class (so inside the <>), it will be treated as a non-existing class, as a variable.
So if I use String as the generic part, it won't be String anymore, so for example you can't use its charAt() method.
I guess, this is a feature, because normally, if I know that I will want to use a String than I simply use it, and I don't create a generic class.
Am I right?