public class DoubleCodecImpl extends AbstractStandardCodec<java.lang.Double> implements DoubleCodec
| Modifier and Type | Field and Description |
|---|---|
protected static int |
POW_10_OFFSET |
CLIENT_PERSISTENCE_COLLECTION_PACKAGE, JMF_1111_1110, JMF_1111_1111, JMF_ARRAY_LIST, JMF_BIG_DECIMAL, JMF_BIG_INTEGER, JMF_BOOLEAN, JMF_BOOLEAN_OBJECT, JMF_BYTE, JMF_BYTE_OBJECT, JMF_CHARACTER, JMF_CHARACTER_OBJECT, JMF_CLASS, JMF_DATE, JMF_DOUBLE, JMF_DOUBLE_OBJECT, JMF_ENUM, JMF_FLOAT, JMF_FLOAT_OBJECT, JMF_GENERIC_COLLECTION, JMF_GENERIC_MAP, JMF_HASH_MAP, JMF_HASH_SET, JMF_INTEGER, JMF_INTEGER_OBJECT, JMF_LOCALDATE, JMF_LOCALDATETIME, JMF_LOCALTIME, JMF_LONG, JMF_LONG_OBJECT, JMF_NULL, JMF_OBJECT, JMF_OBJECT_ARRAY, JMF_OBJECT_END, JMF_PRIMITIVE_ARRAY, JMF_SHORT, JMF_SHORT_OBJECT, JMF_SQL_DATE, JMF_SQL_TIME, JMF_SQL_TIMESTAMP, JMF_STRING, JMF_X011_1100, JMF_X011_1101, JMF_X011_1110, JMF_X011_1111, JMF_XX01_1101, JMF_XX01_1110, JMF_XX01_1111, JMF_XXXX_0111, UTF8| Constructor and Description |
|---|
DoubleCodecImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Double |
decode(InputContext ctx,
int parameterizedJmfType) |
double |
decodePrimitive(InputContext ctx) |
void |
dump(DumpContext ctx,
int parameterizedJmfType) |
void |
encode(OutputContext ctx,
java.lang.Double v) |
void |
encodePrimitive(OutputContext ctx,
double v) |
java.lang.Class<?> |
getObjectClass() |
int |
getObjectType() |
java.lang.Class<?> |
getPrimitiveClass() |
int |
getPrimitiveType() |
static double |
readDoubleData(InputContext ctx,
int parameterizedJmfType) |
static void |
writeDoubleData(OutputContext ctx,
int jmfType,
double v) |
escape, escape, escape, newBadTypeJMFEncodingExceptionprotected static final int POW_10_OFFSET
public int getObjectType()
getObjectType in interface StandardCodec<java.lang.Double>public java.lang.Class<?> getObjectClass()
getObjectClass in interface BijectiveCodec<java.lang.Double>public int getPrimitiveType()
getPrimitiveType in interface PrimitiveCodec<java.lang.Double>public java.lang.Class<?> getPrimitiveClass()
getPrimitiveClass in interface PrimitiveCodec<java.lang.Double>public void encode(OutputContext ctx, java.lang.Double v) throws java.io.IOException
encode in interface StandardCodec<java.lang.Double>encode in interface DoubleCodecjava.io.IOExceptionpublic java.lang.Double decode(InputContext ctx, int parameterizedJmfType) throws java.io.IOException
decode in interface StandardCodec<java.lang.Double>decode in interface DoubleCodecjava.io.IOExceptionpublic void encodePrimitive(OutputContext ctx, double v) throws java.io.IOException
encodePrimitive in interface DoubleCodecjava.io.IOExceptionpublic double decodePrimitive(InputContext ctx) throws java.io.IOException
decodePrimitive in interface DoubleCodecjava.io.IOExceptionpublic void dump(DumpContext ctx, int parameterizedJmfType) throws java.io.IOException
dump in interface StandardCodec<java.lang.Double>java.io.IOExceptionpublic static void writeDoubleData(OutputContext ctx, int jmfType, double v) throws java.io.IOException
java.io.IOExceptionpublic static double readDoubleData(InputContext ctx, int parameterizedJmfType) throws java.io.IOException
java.io.IOException