public class MHashProp extends MCollectionProp
| Modifier | Constructor and Description |
|---|---|
|
MHashProp()
Constructs a property object from an integer value.
|
protected |
MHashProp(MHashProp other,
Set xprops)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
MCollectionProp |
cloneCollectionProp(Set xprops)
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) |
MProp |
get(int i)
Gets a value.
|
MProp |
get(String key)
Gets a value.
|
String |
getKey(int i)
Gets a key.
|
Map<String,MProp> |
getMap()
Gets the map.
|
int |
getPropArraySize()
Gets the array size.
|
String |
getPropType()
Gets the type name of the property.
|
Object |
getPropValue()
Gets the property value as an object.
|
int |
hashCode() |
void |
put(String key,
MProp v)
Puts a value.
|
void |
replace(MProp oldp,
MProp newp)
Replaces or removes a property.
|
int |
size()
Gets the table size.,
|
String |
toString()
Overrides Object.toString() to ease debugging.
|
Iterator |
unorderedIterator()
Gets an iterator for the entries.
|
clone, cloneProp, contains, getPropXSDTypeconvertToString, getGrinvCC, isCoordDependent, setCoordDependentpublic 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 flagsMolExportExceptionpublic Object getPropValue()
getPropValue in class MProppublic final int size()
public final String getKey(int i)
i - the indexpublic final MProp get(int i)
i - the indexpublic Iterator unorderedIterator()
unorderedIterator in class MCollectionProppublic void replace(MProp oldp, MProp newp)
replace in class MCollectionPropoldp - the old objectnewp - the new object or null to removepublic String getPropType()
getPropType in class MProppublic final MCollectionProp cloneCollectionProp(Set xprops)
cloneCollectionProp in class MCollectionPropxprops - property objects in this set are not clonedpublic boolean equals(Object o)
equals in class MCollectionProppublic int hashCode()
hashCode in class MCollectionProp