public class IteratorFactory.AtomNeighbourIterator extends IteratorFactory.NeighbourIterator<MolAtom>
AtomNeighbourIterator
class provides an iterator to
process the atoms connecting to a specified atom according to the atom
and bond related behavior of this factory.atom, currentBond, secondaryBonds
Constructor and Description |
---|
IteratorFactory.AtomNeighbourIterator(MolAtom atom)
Constructs an iterator to process the atoms connecting to the
specified atom according to the atom and bond related behavior of
this factory.
|
Modifier and Type | Method and Description |
---|---|
MolAtom |
next()
Returns the next atom in the iteration.
|
MolAtom |
nextAtom()
Deprecated.
As of Marvin 6.2, Use
next() instead. |
getBond, hasNext, nextBondIndex, remove
public IteratorFactory.AtomNeighbourIterator(MolAtom atom)
@Deprecated public MolAtom nextAtom()
next()
instead.public MolAtom next()
NoSuchElementException