•Generics
in Java™.
wEnhance
reusability of an API by isolating generic behavior.
wLists
and Maps are commonly used since the implementation doesn’t
care about the types contained – their clients do.
§
•Generics
in UML®.
wPractical
Uses
§In
an EMF-based modeling world, a practical end-goal of modeling
is to generate code.
§Understanding
how to express templates and model precisely using UML constructs
is useful.