The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

try this solution

Posted by swapnil on November 16, 2000 at 11:29 AM

hi steven,
possibly u r trying to sort the entries in a list.
if this is the case use TreeMap or the TreeSet class .all entries in these classes are automatically sorted in natural (i.e. in ascending) order.
hope this helps
regards,
swapnil



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us