public final class MutableDouble extends Number
| Constructor and Description |
|---|
MutableDouble(double i)
Creates a new mutable double.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(double d)
Adds a value to this object.
|
double |
dec()
Decrements this double by one.
|
double |
doubleValue() |
boolean |
equals(Object obj) |
float |
floatValue() |
int |
hashCode() |
double |
inc()
Increments this double by one.
|
int |
intValue() |
long |
longValue() |
void |
setValue(double newValue)
Sets the value of this double.
|
String |
toString() |
byteValue, shortValuepublic MutableDouble(double i)
i - the start valuepublic float floatValue()
floatValue in class Numberpublic double doubleValue()
doubleValue in class Numberpublic void setValue(double newValue)
newValue - the new valuepublic double inc()
public double dec()
public void add(double d)
d - a double value
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.