Example usage for Java java.lang Comparable fields, constructors, methods, implement or subclass
The text is from its open source code.
Object | clone() Creates and returns a copy of this object. |
int | compareTo(T o) Compares this object with the specified object for order. |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
Class> | getClass() Returns the runtime class of this Object . |
int | hashCode() Returns a hash code value for the object. |
String | toString() Returns a string representation of the object. |