New Features of UML2 |  Long Talk | Copyright © IBM Corp., 2007-2008.  All rights reserved.
5
Generics: Why Bother?
•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.