Hi. I am trying to sort a HashMap looking like this:
Map<String,Pair<Double,Double>>
For sorting it with the "key", all I needed to do was to make a TreeSet of it.
But any hints on how I can sort it on both my pair.getFirst() and another sort for pair.getSecond()?