public class DoubleType.DoubleEncoding
extends java.lang.Object
Constructor and Description |
---|
DoubleEncoding(EncoderImpl encoder,
DecoderImpl decoder) |
Modifier and Type | Method and Description |
---|---|
boolean |
encodesJavaPrimitive() |
boolean |
encodesSuperset(TypeEncoding<java.lang.Double> encoding) |
int |
getConstructorSize() |
protected DecoderImpl |
getDecoder() |
protected EncoderImpl |
getEncoder() |
byte |
getEncodingCode() |
protected int |
getFixedSize() |
DoubleType |
getType() |
java.lang.Class<T> |
getTypeClass() |
int |
getValueSize(T val) |
boolean |
isFixedSizeVal() |
double |
readPrimitiveValue() |
java.lang.Double |
readValue() |
void |
skipValue() |
void |
write(double d) |
void |
writeConstructor() |
void |
writeValue(double val) |
void |
writeValue(java.lang.Double val) |
public DoubleEncoding(EncoderImpl encoder, DecoderImpl decoder)
protected int getFixedSize()
public byte getEncodingCode()
getEncodingCode
in interface PrimitiveTypeEncoding<java.lang.Double>
public DoubleType getType()
public void writeValue(java.lang.Double val)
public void writeValue(double val)
public void write(double d)
public boolean encodesSuperset(TypeEncoding<java.lang.Double> encoding)
public java.lang.Double readValue()
public double readPrimitiveValue()
public boolean encodesJavaPrimitive()
encodesJavaPrimitive
in interface TypeConstructor<java.lang.Double>
encodesJavaPrimitive
in interface TypeEncoding<java.lang.Double>
public final boolean isFixedSizeVal()
public final int getValueSize(T val)
public final void skipValue()
public final void writeConstructor()
writeConstructor
in interface PrimitiveTypeEncoding<T>
writeConstructor
in interface TypeEncoding<T>
public int getConstructorSize()
getConstructorSize
in interface PrimitiveTypeEncoding<T>
getConstructorSize
in interface TypeEncoding<T>
protected EncoderImpl getEncoder()
public java.lang.Class<T> getTypeClass()
getTypeClass
in interface TypeConstructor<T>
protected DecoderImpl getDecoder()