June 2025
Intermediate to advanced
1129 pages
53h
English
Generics are fortunately relatively easy for users to understand because all users must do is put a type in the angle brackets and they’re done. Designers of Java libraries have a much harder time with generics because they must consider which types are actually needed for an operation and provide wildcards accordingly. For training purposes, we recommend reviewing the application of the generics for all methods in java.util.Collections .
The websites http://gafter.blogspot.com/2006/12/super-type-tokens.html and https://www.artima.com/weblogs/viewpost.jsp?thread=206350 provide further information and use cases, but note that super type tokens are quite rare in the Java world.
Read now
Unlock full access