This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Comparable interface
 
Similar Threads
PriorityQueue - ClassCastException in offer()
Regarding Arranging the elements in ArrayList
can anybody tell about comparator in java
Couple of Problems
sorting of a list having bean object