how can I initialize in a constructor this private instance variable?
private Map<
String, Set<Integer>> variable;
I tried to use :
variable = new HashMap<String, TreeSet<Integer>>();
because I want each set to be ordered but I get an error.
Any ideas guys?
Thank you.