wood burning stoves*
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

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
I agree. Here's the link: http://aspose.com/file-tools
subject: Comparable interface
Similar Threads
PriorityQueue - ClassCastException in offer()
can anybody tell about comparator in java
Couple of Problems
Regarding Arranging the elements in ArrayList
sorting of a list having bean object