Comparator and Comparable interface

Write here if you have problems with your Java source code

Moderator: Board moderators

Post Reply
jan_holmes
Experienced poster
Posts: 136
Joined: Fri Apr 15, 2005 3:47 pm
Location: Singapore
Contact:

Comparator and Comparable interface

Post by jan_holmes » Sat Jan 06, 2007 1:49 pm

I wonder what are the differences between Comparator and Comparable interfaces ?? (of course besides the implementation :P) And what are the advantages and disadvantages of each interface ? Thx...

Post Reply

Return to “Java”