> From: A mailing list for Enterprise JavaBeans development > [mailto:[EMAIL PROTECTED]] On Behalf Of Nour E. Raida
> Can anyone to help how can i sort a collection with more than > one key? f.example oder by key1 ascending , key2 descending, > key3 ascending Override the equals() method on your objects to reflect this. Or better, provide a Comparable that does this (better because the ordering logic is now outside the objects). -- Cedric =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
