public class DoubleByReference extends AbstractPrimitiveReference<java.lang.Double>
value
Constructor and Description |
---|
DoubleByReference(java.lang.Double value)
Creates a new reference to a double value
|
Modifier and Type | Method and Description |
---|---|
void |
marshal(java.nio.ByteBuffer buffer)
Copies the double value to native memory
|
int |
nativeSize()
Gets the native size of type of reference in bytes.
|
void |
unmarshal(java.nio.ByteBuffer buffer)
Copies the double value from native memory
|
getValue, nativeType, setValue
public DoubleByReference(java.lang.Double value)
value
- the initial native valuepublic void marshal(java.nio.ByteBuffer buffer)
buffer
- the native memory bufferpublic void unmarshal(java.nio.ByteBuffer buffer)
buffer
- the native memory buffer.public final int nativeSize()