Package deltix.qsrv.hf.pub.values
Class DoubleValueBean
- java.lang.Object
-
- deltix.qsrv.hf.pub.values.ValueBean
-
- deltix.qsrv.hf.pub.values.DoubleValueBean
-
- All Implemented Interfaces:
ReadableValue
,WritableValue
,java.io.Serializable
public final class DoubleValueBean extends ValueBean
Holds a float value.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DoubleValueBean(FloatDataType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
getBoxedValue()
double
getDouble()
float
getFloat()
double
getRaw()
java.lang.String
getString()
boolean
isNull()
Always returnsfalse
for non-nullable field.void
writeDouble(double value)
void
writeFloat(float value)
void
writeNull()
void
writeString(java.lang.CharSequence s)
-
Methods inherited from class deltix.qsrv.hf.pub.values.ValueBean
checkNotNull, forType, getArrayLength, getBinary, getBinary, getBinaryLength, getBoolean, getByte, getChar, getFieldDecoder, getFieldEncoder, getInt, getLong, getShort, nextReadableElement, nextWritableElement, openBinary, setArrayLength, toString, writeBinary, writeBoolean, writeChar, writeInt, writeLong
-
-
-
-
Constructor Detail
-
DoubleValueBean
public DoubleValueBean(FloatDataType type)
-
-
Method Detail
-
getRaw
public double getRaw()
-
getDouble
public double getDouble() throws NullValueException
- Specified by:
getDouble
in interfaceReadableValue
- Overrides:
getDouble
in classValueBean
- Throws:
NullValueException
-
getFloat
public float getFloat() throws NullValueException
- Specified by:
getFloat
in interfaceReadableValue
- Overrides:
getFloat
in classValueBean
- Throws:
NullValueException
-
writeDouble
public void writeDouble(double value)
- Specified by:
writeDouble
in interfaceWritableValue
- Overrides:
writeDouble
in classValueBean
-
writeFloat
public void writeFloat(float value)
- Specified by:
writeFloat
in interfaceWritableValue
- Overrides:
writeFloat
in classValueBean
-
getString
public java.lang.String getString() throws NullValueException
- Throws:
NullValueException
-
isNull
public boolean isNull()
Description copied from interface:ReadableValue
Always returnsfalse
for non-nullable field.
-
writeNull
public void writeNull()
-
writeString
public void writeString(java.lang.CharSequence s)
-
getBoxedValue
protected java.lang.Object getBoxedValue()
- Specified by:
getBoxedValue
in classValueBean
-
-