aspose file tools*
The moose likes Java in General and the fly likes Doubt in Using a Comparator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Doubt in Using a Comparator " Watch "Doubt in Using a Comparator " New topic
Author

Doubt in Using a Comparator

RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528



The above code sorting is based on Customer FirstName .

How can i sort based on employee Age . Please help

If you want something you never had do something which you had never done
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9990
    
    7

http://faq.javaranch.com/java/SearchFirst
http://faq.javaranch.com/java/ShowSomeEffort

I googled for java Comparator example and the very first hit had a nice example.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
PavanPL KalyanK
Ranch Hand

Joined: Feb 28, 2009
Posts: 212
hh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt in Using a Comparator
 
Similar Threads
Sorting a table of ArrayLists
Comparator and Comparable
using jakarta nullcomparator
Comparator and Comparable
Help with sorting ArrayList using Comparator