• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in Using a Comparator

 
RaviNada Kiran
Ranch Hand
Posts: 528
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



The above code sorting is based on Customer FirstName .

How can i sort based on employee Age . Please help
 
Maneesh Godbole
Saloon Keeper
Posts: 10976
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
PavanPL KalyanK
Ranch Hand
Posts: 212
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hh
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic