I have a MyServer class that contains a Map whose keys are MyClientType objects and whose values are MyClient objects. I\'d like to depict this relationship in a class diagr
MyServer
|
|*
T1toT2
/ \
1/ \1
Key Value
The difference to Mark's solution is that the server has a many-relation to the containers. That's also how the Eclipse Modeling Framework (EMF) proposes to implement maps.
You might also throw in some more UML-specific things, like specifying that the keys have to be unique (through stereotypes).