Photogra :: phracker
28 April 2010
How to sort a HashMap based on its values?
Check this out:
http://tinyurl.com/324pv9m
The trick is to use 'Collections' class and use a LinkedHashMap to hold the the sorted entries inserted in order of insertion.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment