public class MDoubleArrayProp extends MProp
| Constructor and Description |
|---|
MDoubleArrayProp(double[] x)
Constructs a property object from a double array.
|
MDoubleArrayProp(String sval,
int size,
int c)
Constructs a double array 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) |
boolean |
equals(Object o) |
double[] |
getDoubleArray()
Gets the integer value.
|
int |
getPropArraySize()
Gets the array size.
|
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, isCoordDependent, setCoordDependentpublic MDoubleArrayProp(double[] x)
x - the arraypublic MDoubleArrayProp(String sval, int size, int c) throws IllegalArgumentException
sval - the string valueIllegalArgumentExceptionpublic int getPropArraySize()
getPropArraySize in class MProp@Deprecated public String convertToString(String fmt, int flags)
MPropHandler.convertToString(MProp, String)convertToString in class MPropfmt - the molecule file format or nullflags - optional conversion flagspublic Object getPropValue()
getPropValue in class MProppublic final double[] getDoubleArray()
public String getPropType()
getPropType in class MProppublic String getPropXSDType()
getPropXSDType in class MProppublic MProp cloneProp()