generics - in Java syntax, Class - Stack Overflow
You're correct.
In Java generics, the ? operator means "any class". The extends keyword may be used to qualify that to "any class which extends/implements Something (or is Something).
Thus you have "the Class of some class, but that class must be or extend/implement Something".
Read full article from generics - in Java syntax, Class - Stack Overflow
No comments:
Post a Comment