Generics in the Java Programming Language by Gilad Bracha
Читать

Generics in the Java Programming Language by Gilad Bracha

You may be familiar with similar constructs from other languages, most notably C++ templates. If so, you’ll soon see that there are both similarities and important differences.