|
||||||||||
| 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.LongDouble
public class LongDouble
Represents long double value and type.
| Field Summary | |
|---|---|
static int |
LONG_DOUBLE_LENGTH
The length of long double type in bytes. |
| Fields inherited from class com.jniwrapper.Parameter |
|---|
LICENSE_TYPE, V |
| Constructor Summary | |
|---|---|
LongDouble()
Constructs a LongDouble object with zero value. |
|
LongDouble(double ld)
Constructs a LongDouble object. |
|
LongDouble(FloatParameter srcVal)
Constructs a LongDouble object. |
|
LongDouble(LongDouble t)
Constructs a new LongDouble parameter. |
|
| 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 LONG_DOUBLE_LENGTH
long double type in bytes.
| Constructor Detail |
|---|
public LongDouble()
LongDouble object with zero value.
public LongDouble(FloatParameter srcVal)
LongDouble object.
srcVal - Source floating-point valuepublic LongDouble(double ld)
LongDouble object.
ld - Source floating-point valuepublic LongDouble(LongDouble t)
LongDouble parameter.
t - a parameter to take the initial value from.| Method Detail |
|---|
public java.lang.Object clone()
clone in class Parameterprotected double convertToDouble(byte[] bytes)
AbstractFloatdouble value.
convertToDouble in class AbstractFloatprotected byte[] convertToBytes(double d)
AbstractFloatdouble 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 | |||||||||