Modeling by using template classes and generic classes

You can include generic design elements in your IBM® Rational® Rhapsody® models.

Specifically, you can:

The terminology used for these concepts differs slightly between C++ and Java. In this section, we will use the UML terms template class and template operation to represent the generic elements in both C++ and Java.

In general, the procedures described in this section apply to both C++ and Java. Where there are language-dependent differences, these differences are noted.


Feedback