I have a Hashtable of server objects... the key for each entry is the IP address... the value for each entry is a server object with 3 properties 1) ping (int) - your ping to the server 2) lastVisit (long)- the last time you visited the server ( taken from System.currentTimeMillis() 3) numberVisits (int) - the number of times you've visited the server Here's the thing - I need to sort the Hashtable in all 3 of the ways above, depending on user selection... What is the easiest way to do this?
Please change your name to be compliant with JavaRanch's naming policy. Your ID should be 2 separate names with more than 1 letter each. We really want this to be a professional forum and would prefer that you use your REAL name. Thanks, Cindy
"JavaRanch, where the deer and the Certified play" - David O'Meara