Package 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
The
DoubleConverter can convert real value object to/from double
value.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconvert(Object object, org.asnlab.asndt.runtime.type.RealType type, org.asnlab.asndt.runtime.type.Codec codec) convert(org.asnlab.asndt.runtime.type.RealType type, org.asnlab.asndt.runtime.type.Codec codec) toObject(double value) Return the REAL value objectdoubleReturn the double valueMethods inherited from class org.asnlab.asndt.runtime.conv.AsnConverter
isAnonymous
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DoubleConverter
public DoubleConverter()
-
-
Method Details
-
convert
public void convert(Object object, org.asnlab.asndt.runtime.type.RealType type, org.asnlab.asndt.runtime.type.Codec codec) - Overrides:
convertin classRealConverter
-
convert
public Object convert(org.asnlab.asndt.runtime.type.RealType type, org.asnlab.asndt.runtime.type.Codec codec) - Overrides:
convertin classRealConverter
-
toValue
Return the double value- Parameters:
object- The REAL value object- Returns:
- The double value
-
toObject
Return the REAL value object- Parameters:
value- The double value- Returns:
- The REAL value object
-