public class MDoubleProp extends MProp
Constructor and Description |
---|
MDoubleProp(double x)
Constructs a property object from a double floating point value.
|
MDoubleProp(String sval)
Constructs a double floating point property from a string value.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clones the object.
|
MProp |
cloneProp()
Clones the object.
|
String |
convertToString(String fmt,
int flags)
Deprecated.
As of Marvin 5.7, replaced by
MPropHandler.convertToString(MProp, String) |
double |
doubleValue()
Gets the double floating point value.
|
boolean |
equals(Object o) |
String |
getPropType()
Gets the type name of the property.
|
Object |
getPropValue()
Gets the property value as an object.
|
String |
getPropXSDType()
Gets the XSD type name of the property.
|
int |
hashCode() |
String |
toString()
Overrides Object.toString() to ease debugging.
|
convertToString, getGrinvCC, getPropArraySize, isCoordDependent, setCoordDependent
public MDoubleProp(double x)
x
- the valuepublic MDoubleProp(String sval) throws IllegalArgumentException
sval
- the string valueIllegalArgumentException
@Deprecated public String convertToString(String fmt, int flags)
MPropHandler.convertToString(MProp, String)
convertToString
in class MProp
fmt
- the molecule file format or null
flags
- optional conversion flagspublic Object getPropValue()
getPropValue
in class MProp
public final double doubleValue()
public String getPropType()
getPropType
in class MProp
public String getPropXSDType()
getPropXSDType
in class MProp
public MProp cloneProp()