org.asnlab.asndt.runtime.conv
Class DoubleConverter
java.lang.Object
org.asnlab.asndt.runtime.conv.AsnConverter
org.asnlab.asndt.runtime.conv.RealConverter
org.asnlab.asndt.runtime.conv.DoubleConverter
public class DoubleConverter
- extends RealConverter
The DoubleConverter
can convert
real value objct to/from double value.
Method Summary |
java.lang.Object |
convert(org.asnlab.asndt.runtime.type.BitBuffer buffer,
org.asnlab.asndt.runtime.type.RealType type)
|
java.lang.Object |
convert(org.asnlab.asndt.runtime.type.ByteBuffer buffer,
org.asnlab.asndt.runtime.type.RealType type,
int length)
|
void |
convert(java.lang.Object object,
org.asnlab.asndt.runtime.type.BitBuffer buffer,
org.asnlab.asndt.runtime.type.RealType type)
|
int |
convert(java.lang.Object object,
org.asnlab.asndt.runtime.type.ByteBuffer buffer,
org.asnlab.asndt.runtime.type.RealType type)
|
java.lang.Object |
toObject(double value)
Return the REAL value objct |
double |
toValue(java.lang.Object object)
Return the double value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final DoubleConverter INSTANCE
DoubleConverter
public DoubleConverter()
convert
public int convert(java.lang.Object object,
org.asnlab.asndt.runtime.type.ByteBuffer buffer,
org.asnlab.asndt.runtime.type.RealType type)
- Overrides:
convert
in class RealConverter
convert
public java.lang.Object convert(org.asnlab.asndt.runtime.type.ByteBuffer buffer,
org.asnlab.asndt.runtime.type.RealType type,
int length)
- Overrides:
convert
in class RealConverter
convert
public void convert(java.lang.Object object,
org.asnlab.asndt.runtime.type.BitBuffer buffer,
org.asnlab.asndt.runtime.type.RealType type)
- Overrides:
convert
in class RealConverter
convert
public java.lang.Object convert(org.asnlab.asndt.runtime.type.BitBuffer buffer,
org.asnlab.asndt.runtime.type.RealType type)
- Overrides:
convert
in class RealConverter
toValue
public double toValue(java.lang.Object object)
- Return the double value
toObject
public java.lang.Object toObject(double value)
- Return the REAL value objct
Copyright �2009-2012 ASN Lab