|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jniwrapper.Parameter
com.jniwrapper.AbstractFloat
com.jniwrapper.DoubleFloat
public class DoubleFloat
Represents double float
value and type.
Field Summary | |
---|---|
static int |
DOUBLE_LENGTH
The length of double type in bytes. |
Fields inherited from class com.jniwrapper.Parameter |
---|
LICENSE_TYPE, V |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.jniwrapper.AbstractFloat |
---|
getDebugInfo, getLength, getValue, read, setValue, toString, write |
Methods inherited from class com.jniwrapper.Parameter |
---|
acceptIOPerformer, asReturnValue, dataBufferAssigned, equals, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, hashCode, indent, pop, push, read, read, setDataBuffer, toByteArray, write |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DOUBLE_LENGTH
double
type in bytes.
Constructor Detail |
---|
public DoubleFloat()
public DoubleFloat(FloatParameter srcVal)
srcVal
- Source floating-point valuepublic DoubleFloat(double d)
d
- Source floating-point valuepublic DoubleFloat(DoubleFloat t)
Method Detail |
---|
public java.lang.Object clone()
clone
in class Parameter
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |