Java / Groovy Map to TreeMap
Completed
Posted
Oct 3, 2011
Paid on delivery
$30 USD
Paid on delivery
Completed
Paid on delivery
Java / Groovy
I need to take a Map[long..long : long] (unsorted) that has range as keys and turn it into a TreeMap (sorted). The ranges are of long integers. The Map values are type long as well. I am having difficulty creating a comparator to sort the Map to a TreeMap. I need the ranges to sort based on their starting value. Coding for Groovy is preferable.
Project ID: #1233308
About the project
1 proposal
Remote project
Active Oct 5, 2011
Awarded to:
$30 USD in 3 days
(3 Reviews)
2.6