Class AugmentedResidueRange

    • Method Detail

      • getResidue

        public ResidueNumber getResidue​(int positionInRange)
        Returns the ResidueNumber that is at position positionInRange in this ResidueRange.
        Returns:
        The ResidueNumber, or false if it does not exist or is not within this ResidueRange
      • contains

        public boolean contains​(ResidueNumber residueNumber)
        Returns:
        True if and only if residueNumber is within this ResidueRange
      • iterator

        public Iterator<ResidueNumber> iterator()
        Returns a new Iterator over every ResidueNumber in this ResidueRange. Stores the contents of map until the iterator is finished, so calling code should set the iterator to null if it did not finish.