| Modifier and Type | Field and Description |
|---|---|
| private final double |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(final CPDouble
the object to be compared. obj)Implements java. |
| public double |
| theDouble | back to summary |
|---|---|
| private final double theDouble | |
| CPDouble | back to summary |
|---|---|
| public CPDouble(final double theDouble) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(final CPDouble obj) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that | |
| getDouble | back to summary |
|---|---|
| public double getDouble() | |