|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchemaxon.struc.MProp
chemaxon.struc.prop.MDoubleProp
public class MDoubleProp
Double floating point property.
Field Summary |
---|
Fields inherited from class chemaxon.struc.MProp |
---|
CONV_SELFREF, COORDDEP |
Constructor Summary | |
---|---|
MDoubleProp(double x)
Constructs a property object from a double floating point value. |
|
MDoubleProp(java.lang.String sval)
Constructs a double floating point property from a string value. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clones the object. |
MProp |
cloneProp()
Clones the object. |
java.lang.String |
convertToString(java.lang.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(java.lang.Object o)
|
java.lang.String |
getPropType()
Gets the type name of the property. |
java.lang.Object |
getPropValue()
Gets the property value as an object. |
java.lang.String |
getPropXSDType()
Gets the XSD type name of the property. |
java.lang.String |
toString()
Overrides Object.toString() to ease debugging. |
Methods inherited from class chemaxon.struc.MProp |
---|
convertToString, getGrinvCC, getPropArraySize, isCoordDependent, setCoordDependent |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MDoubleProp(double x)
x
- the valuepublic MDoubleProp(java.lang.String sval) throws java.lang.IllegalArgumentException
sval
- the string value
java.lang.IllegalArgumentException
Method Detail |
---|
public java.lang.String convertToString(java.lang.String fmt, int flags)
MPropHandler.convertToString(MProp, String)
convertToString
in class MProp
fmt
- the molecule file format or null
flags
- optional conversion flags
MProp.CONV_SELFREF
public java.lang.Object getPropValue()
getPropValue
in class MProp
public final double doubleValue()
public java.lang.String getPropType()
getPropType
in class MProp
public java.lang.String getPropXSDType()
getPropXSDType
in class MProp
public MProp cloneProp()
cloneProp
in class MProp
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
MProp
@
', and the unsigned
hexadecimal representation of the hash code of the object.
toString
in class MProp
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |