Generics

This section explains how you can define your own generic classes that takeone or more type parameters, similar to built-in types such as List[X].User-defined generics are a moderately advanced feature and you can get farwithout ever using them – feel free to skip this section and come back later.