generics terms quick reference

#bloch-effective-java-2ed #java #p115

TermExample
Parameterized typeList<String>
Actual type parameterString
Generic typeList<E>
Formal type parameterE
Unbounded wildcard typeList<?>
Raw typeList
Bounded type parameter<E extends Number>
Recursive type bound<T extends Comparable<T>>
Bounded wildcard typeList<? extends Number>
Generic method static<E> List<E> asList(E[] a)
Type tokenString.class


Discussion

Do you want to join discussion? Click here to log in or create user.