Generic Types
Generic types are classes, interfaces, traits, and type aliases declared with type parameters. They can be instantiated with different type arguments while preserving type safety.
For examples and full coverage of generic types, generic methods, and generic functions, see Introduction to Generics.