Package chemaxon.struc
Interface Smolecule
Deprecated.
Array-based molecule interface.
 
PLEASE DO NOT IMPLEMENT THIS INTERFACE! It may get more abstract methods in later versions.
- Since:
- Marvin 5.2.2, 04/24/2009
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intDeprecated.Use all atom and bond property arrays.static final intDeprecated.Use atom stereo properties arrays, equalsA_PARITY|A_CHIRALITYstatic final intDeprecated.Use atom type array.static final intDeprecated.Use arrays to store bonds.static final intDeprecated.Use charge array.static final intDeprecated.Chirality.static final intDeprecated.Use explicit Hydrogen count array.static final intDeprecated.Use hybridization state array.static final intDeprecated.Use implicit Hydrogen count array.static final intDeprecated.Use mass number array.static final intDeprecated.Atom parity.static final intDeprecated.Use radical array.static final intDeprecated.Use R-group ID array.static final intDeprecated.Use valence array.static final intDeprecated.Maximum R-group index (32767).
- 
Method SummaryModifier and TypeMethodDescriptionbooleanareNeighbors(int atom1, int atom2) Deprecated.Tests whether two atoms are connected.chemaxon.struc.Gearchgearch()Deprecated.Gets graph search algorithms.intDeprecated.Gets info about the used arrays.intgetAtom1(int i) Deprecated.Gets the index of the first atom of the specified bond.intgetAtom2(int i) Deprecated.Gets the index of the second atom of the specified bond.intDeprecated.Gets the number of atoms.intgetAtomMap(int atom) Deprecated.Gets the atom-atom mapping number.intgetAtomStereo(int atom) Deprecated.Gets atom stereo properties as an integer.intgetAtomType(int atom) Deprecated.Gets the type of an atom.intDeprecated.Gets the number of bonds.intgetBondFlags(int i) Deprecated.Gets the bond descriptor flags.intgetBondIndex(int atom1, int atom2) Deprecated.Gets the index of the bond between the specified atoms.intgetBondType(int i) Deprecated.Gets the type of a bond.intgetBondType(int atom1, int atom2) Deprecated.Gets the type of a bond between the two specified atoms.intgetCharge(int atom) Deprecated.Gets the charge of an ion.intgetChirality(int atom) Deprecated.Gets the chirality of an atom.intgetExplicitHcount(int atom) Deprecated.Gets the number of explicit hydrogen atom neighbors of the given atom.intgetHybridizationState(int atom) Deprecated.Gets the hybridization state of an atom.intgetImplicitHcount(int atom) Deprecated.Gets the number of implicit Hydrogens of an atom.intgetMassno(int atom) Deprecated.Gets the mass number of an atom.getName()Deprecated.Gets the molecule title/name.intgetNeighbor(int atom, int i) Deprecated.Gets the index of a neighbor of an atom.intgetNeighborCount(int atom) Deprecated.Gets the number of neighbors of an atom.intgetParity(int atom) Deprecated.Gets the parity of an atom.default intgetRadical(int atom) Deprecated, for removal: This API element is subject to removal in a future version.UsegetRadicalValue(int)instead.getRadicalValue(int atom) Deprecated.Gets the radical value of an atom.intgetRgroupId(int atom) Deprecated.Gets the R-group identifier of an atom.intgetValence(int atom) Deprecated.Gets the valence.Deprecated.Gets the property container.
- 
Field Details- 
A_BONDstatic final int A_BONDDeprecated.Use arrays to store bonds.- See Also:
 
- 
A_CHARGEstatic final int A_CHARGEDeprecated.Use charge array.- See Also:
 
- 
A_RADICALstatic final int A_RADICALDeprecated.Use radical array.- See Also:
 
- 
A_HYBRIDIZATIONstatic final int A_HYBRIDIZATIONDeprecated.Use hybridization state array.- See Also:
 
- 
A_MASSNOstatic final int A_MASSNODeprecated.Use mass number array.- See Also:
 
- 
A_IMPLHstatic final int A_IMPLHDeprecated.Use implicit Hydrogen count array.- See Also:
 
- 
A_EXPLHstatic final int A_EXPLHDeprecated.Use explicit Hydrogen count array.- See Also:
 
- 
A_VALENCEstatic final int A_VALENCEDeprecated.Use valence array.- See Also:
 
- 
A_ATOMMAPstatic final int A_ATOMMAPDeprecated.Use atom type array.- See Also:
 
- 
A_RGROUPstatic final int A_RGROUPDeprecated.Use R-group ID array.- See Also:
 
- 
A_PARITYstatic final int A_PARITYDeprecated.Atom parity.- See Also:
 
- 
A_CHIRALITYstatic final int A_CHIRALITYDeprecated.Chirality.- See Also:
 
- 
A_ASTEREOstatic final int A_ASTEREODeprecated.Use atom stereo properties arrays, equalsA_PARITY|A_CHIRALITY- See Also:
 
- 
A_ALLstatic final int A_ALLDeprecated.Use all atom and bond property arrays.- See Also:
 
- 
RGROUP_MAXstatic final int RGROUP_MAXDeprecated.Maximum R-group index (32767).- See Also:
 
 
- 
- 
Method Details- 
getNameString getName()Deprecated.Gets the molecule title/name.- Returns:
- the molecule name or an empty string
 
- 
getAtomCountint getAtomCount()Deprecated.Gets the number of atoms.- Returns:
- the number of atoms
 
- 
getBondCountint getBondCount()Deprecated.Gets the number of bonds.- Returns:
- the number of bonds
 
- 
propertiesMPropertyContainer properties()Deprecated.Gets the property container.- Returns:
- the property container
 
- 
getArrayFlagsint getArrayFlags()Deprecated.Gets info about the used arrays.- Returns:
- the array info
 
- 
getAtomTypeint getAtomType(int atom) Deprecated.Gets the type of an atom.- Parameters:
- atom- the atom index
- Returns:
- the atom type
 
- 
getChargeint getCharge(int atom) Deprecated.Gets the charge of an ion.- Parameters:
- atom- the atom index
- Returns:
- the charge
- See Also:
 
- 
getRadicalDeprecated, for removal: This API element is subject to removal in a future version.UsegetRadicalValue(int)instead.Gets the radical value of an atom.- Parameters:
- atom- the atom index
- Returns:
- the radical value
- See Also:
 
- 
getRadicalValueDeprecated.Gets the radical value of an atom.- Parameters:
- atom- the atom index
- Returns:
- the radical value
- See Also:
 
- 
getMassnoint getMassno(int atom) Deprecated.Gets the mass number of an atom. In the case of an element it returns 0, because it is a mix of isotopes having different mass numbers.- Parameters:
- atom- the atom index
- Returns:
- the mass number, or zero if not specified
- See Also:
 
- 
getHybridizationStateint getHybridizationState(int atom) Deprecated.Gets the hybridization state of an atom.- Parameters:
- atom- the atom index
- Returns:
- the hybridization state
- See Also:
 
- 
getImplicitHcountint getImplicitHcount(int atom) Deprecated.Gets the number of implicit Hydrogens of an atom.- Parameters:
- atom- the atom index
- Returns:
- the number of Hydrogens
- See Also:
 
- 
getExplicitHcountint getExplicitHcount(int atom) Deprecated.Gets the number of explicit hydrogen atom neighbors of the given atom.- Parameters:
- atom- the atom index
- Returns:
- the number of Hydrogens
- See Also:
 
- 
getValenceint getValence(int atom) Deprecated.Gets the valence. If valence is set as a property, returns that. Otherwise the valence is the sum of bond orders plus the number of implicit hydrogens or query hydrogen atoms.- Parameters:
- atom- the atom index
- Returns:
- the valence
- See Also:
 
- 
getAtomMapint getAtomMap(int atom) Deprecated.Gets the atom-atom mapping number.- Parameters:
- atom- the atom index
- Returns:
- the map value (positive integer) or 0
- See Also:
 
- 
getRgroupIdint getRgroupId(int atom) Deprecated.Gets the R-group identifier of an atom.- Parameters:
- atom- the atom index
- Returns:
- the R-group identifier (between 0 and RGROUP_MAX) or 0 for normal atoms
- See Also:
 
- 
getParityint getParity(int atom) Deprecated.Gets the parity of an atom.- Parameters:
- atom- the atom index
- Returns:
- the parity or 0
- See Also:
 
- 
getChiralityint getChirality(int atom) Deprecated.Gets the chirality of an atom.- Parameters:
- atom- the atom index
- Returns:
- the chirality or 0 if the atom is not chiral
- See Also:
 
- 
getAtomStereoint getAtomStereo(int atom) Deprecated.Gets atom stereo properties as an integer.- Returns:
- getParity(atom)|- getChirality(atom)
- See Also:
 
- 
getNeighborCountint getNeighborCount(int atom) Deprecated.Gets the number of neighbors of an atom.- Parameters:
- atom- the atom index
- Returns:
- the number of neighbors
- See Also:
 
- 
getNeighborint getNeighbor(int atom, int i) Deprecated.Gets the index of a neighbor of an atom.- Parameters:
- atom- the atom index
- i- the neighbor index
- Returns:
- the atom index of the i-th neighbor of atom k
- See Also:
 
- 
areNeighborsboolean areNeighbors(int atom1, int atom2) Deprecated.Tests whether two atoms are connected.- Parameters:
- atom1- first atom index
- atom2- second atom index
- Returns:
- trueif they are connected,- falseotherwise
- See Also:
 
- 
getAtom1int getAtom1(int i) Deprecated.Gets the index of the first atom of the specified bond.- Parameters:
- i- the bond index
- Returns:
- an atom index
- See Also:
 
- 
getAtom2int getAtom2(int i) Deprecated.Gets the index of the second atom of the specified bond.- Parameters:
- i- the bond index
- Returns:
- an atom index
- See Also:
 
- 
gearchchemaxon.struc.Gearch gearch()Deprecated.Gets graph search algorithms.- Returns:
- graph searches
 
- 
getBondIndexint getBondIndex(int atom1, int atom2) Deprecated.Gets the index of the bond between the specified atoms.- Parameters:
- atom1- first atom index
- atom2- second atom index
- Returns:
- the bond index or -1
- See Also:
 
- 
getBondTypeint getBondType(int i) Deprecated.Gets the type of a bond.- Parameters:
- i- the bond index
- Returns:
- the bond type
- See Also:
 
- 
getBondTypeint getBondType(int atom1, int atom2) Deprecated.Gets the type of a bond between the two specified atoms.- Parameters:
- atom1- first atom index
- atom2- second atom index
- Returns:
- the bond type
- See Also:
 
- 
getBondFlagsint getBondFlags(int i) Deprecated.Gets the bond descriptor flags.- Parameters:
- i- the bond index
- Returns:
- getBondType(i)| stereo1 | stereo2 | topology | reacting_center
- See Also:
 
 
- 
MoleculeorMoleculeGraphinstead