Java - Bounded Wildcards - Producer-Extends Consumer-Super

Subscribe Send me a message home page tags



This is a reading notes on the Item 31 from the book «Effective Java». This item covers the important topic of Bounded Wildcards in Java. Here we try to visualize the relationship between a generic type T and its associated bounded wildcard type.
Java_BoundedWildcardType_img_1.png



Here we try to give our interpretation for the declaration of method max mentioned in the book.

Java_MaxMethodDeclaration_img_2.png



----- END -----

If you have questions about this post, you could find me on Discord.
Send me a message Subscribe to blog updates

Want some fun stuff?

/static/shopping_demo.png