Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Beginning Java and the fly likes Comparable interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Comparable interface" Watch "Comparable interface" New topic
Author

Comparable interface

satya sahu
Ranch Hand

Joined: Mar 26, 2003
Posts: 97
Hi all, Can somebody give me an example explaining the Comparable interface.

Thanx in advance.
Ben Buchli
Ranch Hand

Joined: Mar 26, 2004
Posts: 83
there is a pretty good explanation in the api
 
GeeCON Prague 2014
 
subject: Comparable interface