| Author |
Regarding SortedSet
|
Maddukuri Sudheer
Greenhorn
Joined: Jan 09, 2007
Posts: 4
|
|
|
Can some one help me wORKING WITH Sorted Collections Objects.My requirement is to sort among an unlimited objects and get the first 6 in descending Order.
|
Sudheer M
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14669
|
|
You should read something about the Comparable interface and the Comparator class. Here is one tutorial : http://www.onjava.com/pub/a/onjava/2003/03/12/java_comp.html
|
[My Blog]
All roads lead to JavaRanch
|
 |
 |
|
|
subject: Regarding SortedSet
|
|
|