ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Making Java Objects Comparable
Subject:   Regarding sorting of objects
Date:   2006-05-10 22:19:48
From:   Quetion
This article is good..
But i am not getting how to sort the objects based on two conditons simultaneously.
For example if i want to sort the emp details based on first name and age. The condition is the first sort the objects inbetween age group 20-30 and within that group sort alphabetically.
please will you send a soulution for this..
waiting for your reply...

thank you


1 to 2 of 2
1 to 2 of 2