Package org.apache.qpid.proton.codec
Class DoubleType.DoubleEncoding
java.lang.Object
org.apache.qpid.proton.codec.DoubleType.DoubleEncoding
- All Implemented Interfaces:
PrimitiveTypeEncoding<Double>
,TypeConstructor<Double>
,TypeEncoding<Double>
- Enclosing class:
DoubleType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
encodesSuperset
(TypeEncoding<Double> encoding) int
protected DecoderImpl
protected EncoderImpl
byte
protected int
getType()
final int
getValueSize
(Double val) final boolean
double
final void
void
write
(double d) final void
void
writeValue
(double val) void
writeValue
(Double val)
-
Constructor Details
-
DoubleEncoding
-
-
Method Details
-
getFixedSize
protected int getFixedSize() -
getEncodingCode
public byte getEncodingCode()- Specified by:
getEncodingCode
in interfacePrimitiveTypeEncoding<Double>
-
getType
-
writeValue
-
writeValue
public void writeValue(double val) -
write
public void write(double d) -
encodesSuperset
-
readValue
-
readPrimitiveValue
public double readPrimitiveValue() -
encodesJavaPrimitive
public boolean encodesJavaPrimitive()- Specified by:
encodesJavaPrimitive
in interfaceTypeConstructor<Double>
- Specified by:
encodesJavaPrimitive
in interfaceTypeEncoding<Double>
-
isFixedSizeVal
public final boolean isFixedSizeVal() -
getValueSize
-
skipValue
public final void skipValue() -
writeConstructor
public final void writeConstructor()- Specified by:
writeConstructor
in interfacePrimitiveTypeEncoding<T>
- Specified by:
writeConstructor
in interfaceTypeEncoding<T>
-
getConstructorSize
public int getConstructorSize()- Specified by:
getConstructorSize
in interfacePrimitiveTypeEncoding<T>
- Specified by:
getConstructorSize
in interfaceTypeEncoding<T>
-
getEncoder
-
getTypeClass
- Specified by:
getTypeClass
in interfaceTypeConstructor<T>
-
getDecoder
-