Sam Moelius
IDA Center for Computer Sciences
"Java Generics"
Abstract:
Generics are a common feature in many modern programming languages. Generics allow one to write code that is parametrized by one or more types. Generics make it easier to avoid certain questionable coding practices, such as casting and code duplication.
Java is one programming language that supports generics. In fact, many Java programmers will be familiar with the generic data types provided by the Java Platform. The ArrayList class is one example, where the type parameter determines the type of the objects contained therein.
This talk will explain how to write one's own generic code in Java.
___________________________________________________________________________