Class PDBStrand

    • Constructor Detail

      • PDBStrand

        public PDBStrand()
        Constructs a new Polymer to store the Monomers.
    • Method Detail

      • addAtom

        public void addAtom​(IAtom oAtom,
                            IMonomer oMonomer)
        Adds the atom oAtom to a specified Monomer. Additionally, it keeps record of the iCode.
        Specified by:
        addAtom in interface IStrand
        Overrides:
        addAtom in class Strand
        Parameters:
        oAtom - The atom to add
        oMonomer - The monomer the atom belongs to
      • toString

        public String toString()
        Description copied from class: AtomContainer
        Returns a one line description of this IChemObject.
        Specified by:
        toString in interface IChemObject
        Overrides:
        toString in class Strand
        Returns:
        a String representation of this object