This code show the use of Java generics as well as some caveats. They are meant to illustrate the use, advantages, and limitations of Java genetics. They go with the set of slides entitled "Java Generics" available at: https://www.ptidej.net/tutorial/javagenerics. Some examples do not compile on purpose, to illustrate some advantages and limitations of using Java generics.
Some of the projects do not compile on purpose, to show some features and limitations of Java generics.