ComparableDouble
, Identifier
public interface Comparable
Modifier and Type | Method | Description |
---|---|---|
int |
compareTo(java.lang.Object o) |
Returns a number representing the ordering relationship that
the object has with the given object.
|
boolean |
equals(java.lang.Object o) |
Returns true if this object is equal to the given object.
|
int compareTo(java.lang.Object o)
boolean equals(java.lang.Object o)
equals
in class java.lang.Object