Package chemaxon.struc.prop
Class MCollectionProp
java.lang.Object
chemaxon.struc.MProp
chemaxon.struc.prop.MCollectionProp
- All Implemented Interfaces:
Serializable,Cloneable
Collection of properties.
- Since:
- Marvin 4.1.6, 02/15/2007
- See Also:
-
Field Summary
Fields inherited from class chemaxon.struc.MProp
COORDDEP, TYPE_3D_COORDS, TYPE_ARRAY_BYTE, TYPE_ARRAY_DOUBLE, TYPE_ARRAY_INTEGER, TYPE_BOOLEAN, TYPE_COLLECTION_HASH, TYPE_COLLECTION_LIST, TYPE_CONFORMER_DESCRIPTOR, TYPE_DOUBLE, TYPE_FONT, TYPE_INTEGER, TYPE_MDOCUMENT_PROP, TYPE_MOLECULE, TYPE_OBJECT, TYPE_STRING, TYPE_VOLUMETRIC_DATA -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Objectclone()Clones the object.abstract MCollectionPropcloneCollectionProp(Set xprops) Clones the object.final MPropClones the object.final booleanTests whether the collection contains the specified property.booleanGets the XSD type name of the property.inthashCode()abstract voidReplaces or removes a property.abstract IteratorGets an unordered iterator for the entries.Methods inherited from class chemaxon.struc.MProp
convertToString, convertToString, getGrinvCC, getPropArraySize, getPropType, getPropValue, isCoordDependent, setCoordDependent, toString
-
Constructor Details
-
MCollectionProp
public MCollectionProp()
-
-
Method Details
-
unorderedIterator
Gets an unordered iterator for the entries.- Returns:
- the iterator
-
contains
Tests whether the collection contains the specified property.- Parameters:
p- the property- Returns:
trueif the collection contains it,falseotherwise
-
replace
Replaces or removes a property.- Parameters:
oldp- the old objectnewp- the new object ornullto remove
-
getPropXSDType
Gets the XSD type name of the property.- Specified by:
getPropXSDTypein classMProp- Returns:
- "ENTITY"
-
cloneCollectionProp
Clones the object.- Parameters:
xprops- property objects in this set are not cloned- Returns:
- the clone
-
cloneProp
Clones the object. -
clone
Clones the object. -
equals
-
hashCode
public int hashCode()
-