|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.struc.MProp
chemaxon.struc.prop.MCollectionProp
chemaxon.struc.prop.MHashProp
public class MHashProp
Linked hash map of properties.
| Field Summary |
|---|
| Fields inherited from class chemaxon.struc.MProp |
|---|
CONV_SELFREF, COORDDEP |
| Constructor Summary | |
|---|---|
|
MHashProp()
Constructs a property object from an integer value. |
protected |
MHashProp(MHashProp other,
java.util.Set xprops)
Copy constructor. |
| Method Summary | |
|---|---|
MCollectionProp |
cloneCollectionProp(java.util.Set xprops)
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) |
boolean |
equals(java.lang.Object o)
|
MProp |
get(int i)
Gets a value. |
MProp |
get(java.lang.String key)
Gets a value. |
java.lang.String |
getKey(int i)
Gets a key. |
java.util.Map<java.lang.String,MProp> |
getMap()
Gets the map. |
int |
getPropArraySize()
Gets the array size. |
java.lang.String |
getPropType()
Gets the type name of the property. |
java.lang.Object |
getPropValue()
Gets the property value as an object. |
void |
put(java.lang.String key,
MProp v)
Puts a value. |
void |
replace(MProp oldp,
MProp newp)
Replaces or removes a property. |
int |
size()
Gets the table size |
java.lang.String |
toString()
Overrides Object.toString() to ease debugging. |
java.util.Iterator |
unorderedIterator()
Gets an iterator for the entries. |
| Methods inherited from class chemaxon.struc.prop.MCollectionProp |
|---|
clone, cloneProp, contains, getPropXSDType |
| Methods inherited from class chemaxon.struc.MProp |
|---|
convertToString, getGrinvCC, isCoordDependent, setCoordDependent |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MHashProp()
protected MHashProp(MHashProp other,
java.util.Set xprops)
other - the other objectxprops - property objects in this set are not cloned| Method Detail |
|---|
public int getPropArraySize()
getPropArraySize in class MProp
public java.lang.String convertToString(java.lang.String fmt,
int flags)
throws MolExportException
MPropHandler.convertToString(MProp, String)
convertToString in class MPropfmt - the molecule file format or nullflags - optional conversion flags
MolExportExceptionMProp.CONV_SELFREFpublic java.lang.Object getPropValue()
getPropValue in class MProppublic final java.util.Map<java.lang.String,MProp> getMap()
public final int size()
public final java.lang.String getKey(int i)
i - the index
public final MProp get(int i)
i - the index
public final MProp get(java.lang.String key)
key - the key
public final void put(java.lang.String key,
MProp v)
key - the keyv - the valuepublic java.util.Iterator unorderedIterator()
unorderedIterator in class MCollectionProp
public void replace(MProp oldp,
MProp newp)
replace in class MCollectionPropoldp - the old objectnewp - the new object or null to removepublic java.lang.String getPropType()
getPropType in class MProppublic final MCollectionProp cloneCollectionProp(java.util.Set xprops)
cloneCollectionProp in class MCollectionPropxprops - property objects in this set are not cloned
public boolean equals(java.lang.Object o)
equals in class MCollectionProppublic 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 | ||||||||