File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Comparable and Comparater Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Comparable and Comparater" Watch "Comparable and Comparater" New topic

Comparable and Comparater

deepak carter
Ranch Hand

Joined: Feb 19, 2011
Posts: 165

can anyone please help me in comparable and comparater. I am unable to understand .An example would help a lot
Jeff Verdegan

Joined: Jan 03, 2004
Posts: 6109

What did you not understand?

Did you try googling for something like java comparable tutorial or java comparable example? There's plenty of introductory material out there, so there's no point in somebody here just repeating it all without knowing what you tried and where you got stuck.

If you SearchFirst,(⇐clik), ShowSomeEffort,(⇐click) and TellTheDetails(⇐click) then somebody will be happy to help you.
deepak carter
Ranch Hand

Joined: Feb 19, 2011
Posts: 165
got the answer

I agree. Here's the link:
subject: Comparable and Comparater
It's not a secret anymore!