Type ParameterConventions
You have already seen the angle bracketand single letter notation used to
represent a type parameter. By convention, a type parameter is asingle,
uppercase letter — this allows easy identification anddistinguishes a type
parameter from a class name. The most common type parameters youwill see are:
* <T> — Type
* <S> — for Type, when T is already in use
* <E> — Element (used extensively by the Java CollectionsFramework)
* <K> — Key
* <V> — Value
* <N> — Number
You have already seen the angle bracketand single letter notation used to
represent a type parameter. By convention, a type parameter is asingle,
uppercase letter — this allows easy identification anddistinguishes a type
parameter from a class name. The most common type parameters youwill see are:
* <T> — Type
* <S> — for Type, when T is already in use
* <E> — Element (used extensively by the Java CollectionsFramework)
* <K> — Key
* <V> — Value
* <N> — Number