public class DoubleValue extends Number implements Value<DoubleValue>
| Constructor and Description |
|---|
DoubleValue() |
DoubleValue(double value) |
| Modifier and Type | Method and Description |
|---|---|
void |
assign(Value<DoubleValue> other)
Assign a new value to this object
|
int |
compareTo(DoubleValue obj) |
DoubleValue |
copy() |
double |
doubleValue() |
boolean |
equals(Object obj) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
void |
read(RandomAccessInput in) |
String |
toString() |
Double |
value() |
void |
value(double value) |
ValueType |
valueType() |
void |
write(RandomAccessOutput out) |
byteValue, shortValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckAssign, stringpublic float floatValue()
floatValue in class Numberpublic double doubleValue()
doubleValue in class Numberpublic Double value()
value in interface Value<DoubleValue>public void value(double value)
public ValueType valueType()
valueType in interface Value<DoubleValue>public void assign(Value<DoubleValue> other)
Valueassign in interface Value<DoubleValue>public DoubleValue copy()
copy in interface Value<DoubleValue>public void read(RandomAccessInput in) throws IOException
read in interface ReadableIOExceptionpublic void write(RandomAccessOutput out) throws IOException
write in interface WritableIOExceptionpublic int compareTo(DoubleValue obj)
compareTo in interface Comparable<DoubleValue>Copyright © 2020–2021. All rights reserved.