Class IteratorFactory.AtomNeighbourIterator

  • All Implemented Interfaces:
    Iterator<MolAtom>
    Enclosing class:
    IteratorFactory

    public class IteratorFactory.AtomNeighbourIterator
    extends IteratorFactory.NeighbourIterator<MolAtom>
    The 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.
    • Constructor Detail

      • AtomNeighbourIterator

        public 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. If the atom related behavior of the facotory is set to skip the multicenters then:
        • multicenters are excluded from the neighbours of the atom
        • the represented atoms of the multicenter are included instead the multicenter
    • Method Detail

      • nextAtom

        @Deprecated
        public MolAtom nextAtom()
        Deprecated.
        As of Marvin 6.2, Use next() instead.
        Returns the next atom in the iteration.
        Returns:
        the next atom in the iteration