Question regarding Java Generics
I am in the process of re-writing a java application to include Java generics.
I have the following statement which I would like to ask you all as to how to rewrite it using Java generics:
SortedMap _topPLs = Collections.synchronizedSortedMap(new TreeMap());
where the map contains:
Note: "long" is the primitive long and not the Object "Long".