org.biojava3.core.sequence.location
Class SequenceLocation<S extends AbstractSequence<C>,C extends Compound>
java.lang.Object
org.biojava3.core.sequence.location.template.AbstractLocation
org.biojava3.core.sequence.location.SimpleLocation
org.biojava3.core.sequence.location.SequenceLocation<S,C>
- All Implemented Interfaces:
- Iterable<Location>, Location, Accessioned
public class SequenceLocation<S extends AbstractSequence<C>,C extends Compound>
- extends SimpleLocation
A location in a sequence that keeps a reference to its parent sequence
- Author:
- Scooter Willis
Nested classes/interfaces inherited from interface org.biojava3.core.sequence.location.template.Location |
Location.Tools |
Fields inherited from interface org.biojava3.core.sequence.location.template.Location |
EMPTY |
Methods inherited from class org.biojava3.core.sequence.location.template.AbstractLocation |
assertLocation, canComplement, equals, getAccession, getEnd, getLength, getRelevantSubLocations, getRelevantSubSequence, getStart, getStrand, getSubLocations, getSubSequence, hashCode, isBetweenCompounds, isCircular, isComplex, iterator, reverseSequence, setAccession, setBetweenCompounds, setCircular, setEnd, setStart, setStrand, setSubLocations, toString |
SequenceLocation
public SequenceLocation(int start,
int end,
S sequence)
getSequence
public S getSequence()
- Returns:
- the sequence