Wednesday 2 December 2009

Java: Sorting a Map by Values

Here's a simple (TestNG) test to demonstrate getting a List of values out of a Map where you'd like the contents to be ordered by Value (not Key)