public class DoubleFloat extends AbstractFloat
double float
value and type.
Modifier and Type | Field and Description |
---|---|
static int |
DOUBLE_LENGTH
The length of
double type in bytes. |
LICENSE_TYPE, V
Constructor and Description |
---|
DoubleFloat()
Constructs an instance with a zero value.
|
DoubleFloat(double d)
Constructs an instance with the passed value.
|
DoubleFloat(DoubleFloat t)
Constructs an instance with the same value as the passed object.
|
DoubleFloat(FloatParameter srcVal)
Constructs an instance with the same value as the passed object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
protected byte[] |
convertToBytes(double d)
Converts Java
double value to its native representation. |
protected double |
convertToDouble(byte[] bytes)
Converts native representation of a floating-point value to Java
double value. |
getDebugInfo, getLength, getValue, read, setValue, toString, write
acceptIOPerformer, asReturnValue, dataBufferAssigned, equals, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, hashCode, indent, pop, push, read, read, setDataBuffer, toByteArray, write
public static final int DOUBLE_LENGTH
double
type in bytes.public DoubleFloat()
public DoubleFloat(FloatParameter srcVal)
srcVal
- Source floating-point valuepublic DoubleFloat(double d)
d
- Source floating-point valuepublic DoubleFloat(DoubleFloat t)
protected double convertToDouble(byte[] bytes)
AbstractFloat
double
value.convertToDouble
in class AbstractFloat
protected byte[] convertToBytes(double d)
AbstractFloat
double
value to its native representation.convertToBytes
in class AbstractFloat