<<< Parameterized Class in UML | Index | Parameterized Utility Class in UML >>> |
Java does not support templates...
...Java has generics , a facility of generic programming, added in 2004.
Java generics allow a type or method to operate on objects of various types
while providing compile-time type safety.
In C++,
template < generic parameters >
class ParameterizedClass
{
// ...code...
};//class ParameterizedClass
<<< Parameterized Class in UML | Index | Parameterized Utility Class in UML >>> |