If you can't explain it simply, you don't understand it well enough.
Sunday, 18 August 2013
notes about Generics
If I find something worth to mention and memorize about generics, I'll post it here.
Stuff like:
A
List<String>
is (captureable by) a
List<?>
A
List<List<String>>
is
NOT
(captureable by) a
List<List<?>>
A
List<List<String>>
IS
(captureable by) a
List<? extends List<?>>
http://stackoverflow.com/a/3547372/575659
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment