|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.util.iterator.IteratorFactory.NeighbourIterator<MolBond>
chemaxon.util.iterator.IteratorFactory.BondNeighbourIterator
public class IteratorFactory.BondNeighbourIterator
The BondNeighbourIterator class provides an iterator to
process the bonds connecting to the specified atom according to the atom
and bond related behavior of this factory. The following bonds are
excluded:
If the atom related behavior of the factory is set to skip the
multicenter and the bond related behavior is set to include the
coordinate bonds the BondNeighbourIterator returns secondary
bonds instead of coordinate bonds of multicenter atoms. Secondary bonds
replace a coordinate bond to the multicenter with coordinate bonds from
the metal to the represented atoms (represented atoms: the atoms in the
MulticenterSgroup of the multicenter). These secondary bonds are NOT PART OF
the molecule of the factory, so DO NOT USE Molecule.indexOf for the
secondary bonds!
| Field Summary |
|---|
| Fields inherited from class chemaxon.util.iterator.IteratorFactory.NeighbourIterator |
|---|
atom, currentBond, secondaryBonds |
| Constructor Summary | |
|---|---|
IteratorFactory.BondNeighbourIterator(MolAtom atom)
Constructs an iterator to process the bonds connecting to the specified atom. |
|
| Method Summary | |
|---|---|
MolBond |
next()
Returns the next bond in the iteration. |
MolBond |
nextBond()
Deprecated. Use next() instead. |
| Methods inherited from class chemaxon.util.iterator.IteratorFactory.NeighbourIterator |
|---|
getBond, hasNext, nextBondIndex, remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IteratorFactory.BondNeighbourIterator(MolAtom atom)
If the atom related behavior of the factory is set to skip the multicenter
and the bond related behavior is set to include the coordinate bonds the
BondNeighbourIterator returns secondary bonds instead of coordinate
bonds of multicenter atoms.
Secondary bonds replace a coordinate bond to the multicenter with coordinate
bonds from the metal to the represented atoms
(represented atoms: the atoms in the MulticenterSgroup of the multicenter).
These secondary bond are NOT ADDED to the molecule of the factory, so DO NOT USE Molecule.indexOf
for the secondary bonds!
atom - the atom whose bonds to be iterated| Method Detail |
|---|
public MolBond nextBond()
next() instead.
public MolBond next()
java.util.NoSuchElementException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||