Value Sort Map Utility (Java Code)  
 
 
About Author:
Name : Niraj Agarwal
E-Mail : [email protected]
Downloads:
Value Sort Map Code
Useful Links:
Download JDK 1.4
Back to Home
About Value Sort Map Utility
This class is used to show how you can sort a java.uti.Map for values. This also takes care of null and duplicate values present in the map. Many times we come accross the requirement where we need to sort a Map (HashMap, Hashtable) for it's values. Like User Id's as key and User Name as values; and need to sort it with User Names. This can be good fit for such scenarios.

Jdk Tested on:


  • JDK 1.4
  •  
    Hosted by www.Geocities.ws

    1