public class AugmentedResidueRange extends ResidueRangeAndLength
CHAIN_REGEX, RANGE_REGEX
Constructor and Description |
---|
AugmentedResidueRange(String chain,
ResidueNumber start,
ResidueNumber end,
int length,
AtomPositionMap map) |
AugmentedResidueRange(String chain,
String start,
String end,
int length,
AtomPositionMap map) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(ResidueNumber residueNumber) |
ResidueNumber |
getResidue(int positionInRange)
Returns the ResidueNumber that is at position
positionInRange in this ResidueRange. |
Iterator<ResidueNumber> |
iterator()
Returns a new Iterator over every
ResidueNumber in this ResidueRange. |
calcLength, equals, getLength, hashCode, iterator, parse, parseMultiple, parseMultiple
contains, getChainName, getEnd, getResidue, getStart, multiIterator, multiIterator, parse, parseMultiple, parseMultiple, toString, toString, toStrings
public AugmentedResidueRange(String chain, ResidueNumber start, ResidueNumber end, int length, AtomPositionMap map)
public AugmentedResidueRange(String chain, String start, String end, int length, AtomPositionMap map)
public ResidueNumber getResidue(int positionInRange)
positionInRange
in this ResidueRange.public boolean contains(ResidueNumber residueNumber)
residueNumber
is within this ResidueRangepublic Iterator<ResidueNumber> iterator()
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.Copyright © 2000–2019 BioJava. All rights reserved.