API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.lang. Comparable View Source
Author(s)
Josh Bloch
Since
1.2
Version
1.26, 04/21/06
Serial
Hierarchy
 Comparable
Subinterfaces
Description
public interface Comparable
  This interface imposes a total ordering on the objects of each class that implements it.
See also:    Comparator
Methods
Hide/Show inherited methods
public int compareTo ( T o)
  Compares this object with the specified object for order.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar