📄 iatomcontainer.java
字号:
*@return The ArrayList with the connected atoms */ public List getConnectedElectronContainersList(IAtom atom); /** * Returns the number of atoms connected to the given atom. * *@param atom The atom the number of bond partners are searched of. *@return The the size of connected atoms */ public int getConnectedAtomsCount(IAtom atom); /** * Returns the number of Bonds for a given Atom. * *@param atom The atom *@return The number of Bonds for this atom */ public int getConnectedBondsCount(IAtom atom); /** * Returns the number of connected atoms (degree) to the given atom. * *@param atomnumber The atomnumber the degree is searched for *@return The number of connected atoms (degree) */ public int getConnectedBondsCount(int atomnumber); /** * Returns the number of LonePairs for a given Atom. * *@param atom The atom *@return The number of LonePairs for this atom */ public int getConnectedLonePairsCount(IAtom atom); /** * Returns the sum of the SingleElectron for a given Atom. * *@param atom The atom on which the single electron is located *@return The array of SingleElectron of this AtomContainer */ public int getConnectedSingleElectronsCount(IAtom atom); /** * Returns the sum of the bond orders for a given Atom. * * @param atom The atom * @return The number of bondorders for this atom */ public double getBondOrderSum(IAtom atom); /** * Returns the maximum bond order that this atom currently has in the context * of this AtomContainer. * * @param atom The atom * @return The maximum bond order that this atom currently has */ public double getMaximumBondOrder(IAtom atom); /** * Returns the minimum bond order that this atom currently has in the context * of this AtomContainer. * *@param atom The atom *@return The minimim bond order that this atom currently has */ public double getMinimumBondOrder(IAtom atom); /** * Adds all atoms and electronContainers of a given atomcontainer to this * container. * *@param atomContainer The atomcontainer to be added */ public void add(IAtomContainer atomContainer); /** * Adds an atom to this container. * *@param atom The atom to be added to this container */ public void addAtom(IAtom atom); /** * Adds a Bond to this AtomContainer. * *@param bond The bond to added to this container */ public void addBond(IBond bond); /** * Adds a lone pair to this AtomContainer. * *@param lonePair The LonePair to added to this container */ public void addLonePair(ILonePair lonePair); /** * Adds a single electron to this AtomContainer. * *@param singleElectron The SingleElectron to added to this container */ public void addSingleElectron(ISingleElectron singleElectron); /** * Adds a ElectronContainer to this AtomContainer. * *@param electronContainer The ElectronContainer to added to this container */ public void addElectronContainer(IElectronContainer electronContainer); /** * Removes all atoms and electronContainers of a given atomcontainer from this * container. * *@param atomContainer The atomcontainer to be removed */ public void remove(IAtomContainer atomContainer); /** * Removes the atom at the given position from the AtomContainer. Note that * the electronContainers are unaffected: you also have to take care of * removing all electronContainers to this atom from the container manually. * *@param position The position of the atom to be removed. */ public void removeAtom(int position); /** * Removes the given atom from the AtomContainer. Note that the * electronContainers are unaffected: you also have to take care of removeing * all electronContainers to this atom from the container. * *@param atom The atom to be removed */ public void removeAtom(IAtom atom); /** * Removes the bond at the given position from the AtomContainer. * *@param position The position of the bond to be removed. */ public IBond removeBond(int position); /** * Removes the bond that connects the two given atoms. * * @param atom1 The first atom * @param atom2 The second atom * @return The bond that connectes the two atoms */ public IBond removeBond(IAtom atom1, IAtom atom2); /** * Removes the bond from this container. * * @param bond The bond to be removed. */ public void removeBond(IBond bond); /** * Removes the lone pair at the given position from the AtomContainer. * * @param position The position of the LonePair to be removed. * @return The removed ILonePair. */ public ILonePair removeLonePair(int position); /** * Removes the lone pair from the AtomContainer. * * @param lonePair The LonePair to be removed. */ public void removeLonePair(ILonePair lonePair); /** * Removes the single electron at the given position from the AtomContainer. * * @param position The position of the SingleElectron to be removed. * @return The removed ISingleElectron */ public ISingleElectron removeSingleElectron(int position); /** * Removes the single electron from the AtomContainer. * * @param singleElectron The SingleElectron to be removed. */ public void removeSingleElectron(ISingleElectron singleElectron); /** * Removes the bond at the given position from this container. * * @param position The position of the bond in the electronContainers array * @return the IElectronContainer that was removed */ public IElectronContainer removeElectronContainer(int position); /** * Removes this ElectronContainer from this container. * * @param electronContainer The electronContainer to be removed */ public void removeElectronContainer(IElectronContainer electronContainer); /** * Removes the given atom and all connected electronContainers from the * AtomContainer. * *@param atom The atom to be removed */ public void removeAtomAndConnectedElectronContainers(IAtom atom); /** * Removes all atoms and bond from this container. */ public void removeAllElements(); /** * Removes electronContainers from this container. */ public void removeAllElectronContainers(); /** * Removes all Bonds from this container. */ public void removeAllBonds(); /** * Adds a bond to this container. * *@param atom1 Id of the first atom of the Bond in [0,..] *@param atom2 Id of the second atom of the Bond in [0,..] *@param order Bondorder *@param stereo Stereochemical orientation */ public void addBond(int atom1, int atom2, double order, int stereo); /** * Adds a bond to this container. * *@param atom1 Id of the first atom of the Bond in [0,..] *@param atom2 Id of the second atom of the Bond in [0,..] *@param order Bondorder */ public void addBond(int atom1, int atom2, double order); /** * Adds a LonePair to this Atom. * *@param atomID The atom number to which the LonePair is added in [0,..] */ public void addLonePair(int atomID); /** * Adds a SingleElectron to this Atom. * *@param atomID The atom number to which the SingleElectron is added in [0,..] */ public void addSingleElectron(int atomID); /** * True, if the AtomContainer contains the given atom object. * *@param atom the atom this AtomContainer is searched for *@return True, if the AtomContainer contains the given atom object */ public boolean contains(IAtom atom); /** * True, if the AtomContainer contains the given bond object. * *@param bond the bond this AtomContainer is searched for *@return True, if the AtomContainer contains the given bond object */ public boolean contains(IBond bond); /** * True, if the AtomContainer contains the given LonePair object. * *@param lonePair the LonePair this AtomContainer is searched for *@return True, if the AtomContainer contains the given LonePair object */ public boolean contains(ILonePair lonePair); /** * True, if the AtomContainer contains the given SingleElectron object. * *@param singleElectron the SingleElectron this AtomContainer is searched for *@return True, if the AtomContainer contains the given SingleElectron object */ public boolean contains(ISingleElectron singleElectron); /** * True, if the AtomContainer contains the given ElectronContainer object. * *@param electronContainer ElectronContainer that is searched for *@return True, if the AtomContainer contains the given bond object */ public boolean contains(IElectronContainer electronContainer);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -