import java.util.SortedSet;
import java.util.TreeSet;
.....
.....
.....
private SortedSet a = new TreeSet();
How will I represent that on a uml diagram since it's a sortedset and a treeset?
import java.util.SortedSet;
import java.util.TreeSet;
.....
.....
.....
private SortedSet a = new TreeSet();
How will I represent that on a uml diagram since it's a sortedset and a treeset?
You declared it as SortedSet, use that. TreeSet is just an implementation detail.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.