Content deleted Content added
m →Wildcard as parameter type: corrected non-standard [over]use of prepositions |
m →Bounded Wildcards: corrected non-standard use of prepositions, and lack of conjunction between phrases |
||
Line 30:
== Bounded Wildcards ==
A bounded wildcard is one with either an upper or a lower constraint. Not only the formal type parameters in the generic unit, but also the wildcard can be (further) constrained if one doesn't want to be compatible
<code>Generic<? '''extends''' SubtypeOfUpperBound> referenceConstrainedFromAbove;</code>
|