Answer the question
In order to leave comments, you need to log in
Generic: strange wildcard behavior?
Good evening everyone.
The stateCache array contains <? extends S> objects, however the array element 's getClass() method returns <? extends Object > what's the matter?
Answer the question
In order to leave comments, you need to log in
Erasing types. About it is in any textbook that touches on the topic of generalizations.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question