public class ComparableDouble extends java.lang.Object implements Comparable
| Constructor and Description |
|---|
ComparableDouble(double d) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.lang.Object o)
Returns a number representing the ordering relationship that
the object has with the given object.
|
double |
doubleValue() |
boolean |
equals(java.lang.Object o)
Returns true if this object is equal to the given object.
|
java.lang.String |
toString() |
public int compareTo(java.lang.Object o)
ComparablecompareTo in interface Comparablepublic boolean equals(java.lang.Object o)
Comparableequals in interface Comparableequals in class java.lang.Objectpublic double doubleValue()
public java.lang.String toString()
toString in class java.lang.Object