The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
"I'm not back." - Bill Harding, Twister
"I'm not back." - Bill Harding, Twister
Originally posted by Jim Yingst:
I believe this relates to the rules for capture conversion, and specifically to the statement that "Capture conversion is not applied recursively." Capture conversion doesn't apply if the ? is nested within multiple < > braces. So it's necessary to introduce an additional ? within the outermost < >, to allow capture conversion to work.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
[...] you can oly apply capture conversion if the type variable is defined at the top-level of the generic type [...] suppose you have the method:
static <T> void processListOfLists(List<List<T>> list)
and you tried to invoke it with an argument of type List<List<?>>. The capture will not uniquely determine the an element type for the outer list [...]
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Look! I laid an egg! Why does it smell like that? Tiny ad, does this smell weird to you?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|