S
- the type of sequence object that is returned by the implementation of this interfaceT
- the token type used by the underlying providerpublic interface SequenceDataAdapter<S,T> extends BasicAlignmentModelView<T>, SequenceAccess<S>
AlignmentModel
in a different way (e.g. as a set of CharSequence
s or
BioJava sequences).Modifier and Type | Method and Description |
---|---|
S |
getSubSequence(java.lang.String sequenceID,
int offset,
int length)
Returns a view or copy of a subsequence in the underlying data source.
|
boolean |
returnsCopies()
Specifies if the instances returned by
#getSequence(int) are views of the underlying data source
or independent copies of the sequences. |
getUnderlyingModel
getSequence
S getSubSequence(java.lang.String sequenceID, int offset, int length)
sequenceID
- the ID of the sequence in the underlying AlignmentModel
to be viewedoffset
- the start index of the subsequence to be viewed (The first token has the index 0.)length
- the length of the subsequence to be viewedreturnsCopies()
boolean returnsCopies()
#getSequence(int)
are views of the underlying data source
or independent copies of the sequences.true
if copies are returned, false
if views are returned