Generics

Generic classes and methods, bounded types, wildcards and type erasure.

3 notes

Notes

Java

Generics in Java

Generics let a class or method work with a type supplied by the caller, moving whole families of errors from runtime to compile time.

Read more