I'm looking for two things really: One is how do I model generic java classes if i were doing it with pen and paper.
Craig Larman's book Applying UML and Patterns 3e has instructor slides with the Figures from the book. The following is from Figure 15.5:
Secondly, what uml tools out there support generic classes/interfaces.
I like PlantUML, which will produce the following image from
skinparam style strictuml
participant sales as "sales:\nArrayList<Sale>"
For class diagrams, it produces
skinparam style strictuml
hide empty members
class "ArrayList<Sale>" as S
class Store {
Store()
}
Store "1" -> "1" S : " sales "