Class AtomIterator

  • All Implemented Interfaces:
    Iterator<Atom>

    public class AtomIterator
    extends Object
    implements Iterator<Atom>
    an iterator over all atoms of a structure / group.
    Since:
    1.4
    Version:
    %I% %G%
    Author:
    Andreas Prlic
    • Constructor Detail

      • AtomIterator

        public AtomIterator​(Structure struct)
        Constructs an AtomIterator object over all models
        Parameters:
        struct - a Structure object
      • AtomIterator

        public AtomIterator​(Structure struct,
                            int modelNr)
        Constructs an AtomIterator object over a single model
        Parameters:
        struct - a Structure object
      • AtomIterator

        public AtomIterator​(Group g)
        Constructs an AtomIterator object.
        Parameters:
        g - a Group object