forked from prmr/DesignBook
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathc3-exercise4.class.jet
More file actions
1 lines (1 loc) · 1.36 KB
/
c3-exercise4.class.jet
File metadata and controls
1 lines (1 loc) · 1.36 KB
1
{"diagram":"ClassDiagram","nodes":[{"methods":"","name":"«enum»\nSuit","x":820,"y":180,"attributes":"","id":4,"type":"ClassNode"},{"methods":"compare(Hand, Hand):int","name":"Comparator<Hand>","x":100,"y":210,"id":2,"type":"InterfaceNode"},{"methods":"","name":"Card","x":650,"y":220,"attributes":"","id":3,"type":"ClassNode"},{"methods":"compareTo(Hand):int","name":"Comparable<Hand>","x":370,"y":70,"id":0,"type":"InterfaceNode"},{"methods":"Hand(int)\nadd(Card): void\nremove(Card): void\ncompareTo(Card): int\ncontains(Card): boolean\nisEmpty(): boolean\nisFull(): boolean\nstatic createDescendingComparator(): Comparator<Hand>","name":"Hand","x":280,"y":170,"attributes":"","id":1,"type":"ClassNode"},{"methods":"","name":"«enum»\nRank","x":820,"y":260,"attributes":"","id":5,"type":"ClassNode"}],"edges":[{"startLabel":"","middleLabel":"","start":1,"end":3,"endLabel":"*","type":"AggregationEdge","Aggregation Type":"Aggregation"},{"Generalization Type":"Implementation","start":1,"end":0,"type":"GeneralizationEdge"},{"middleLabel":"","start":1,"directionality":"Unidirectional","end":2,"type":"DependencyEdge"},{"startLabel":"","middleLabel":"","start":3,"end":4,"endLabel":"1","type":"AggregationEdge","Aggregation Type":"Aggregation"},{"startLabel":"","middleLabel":"","start":3,"end":5,"endLabel":"1","type":"AggregationEdge","Aggregation Type":"Aggregation"}],"version":"3.4"}