S
- the class of the sequence objects representing a row in the alignmentpublic interface SequenceAccess<S>
AlignmentModel
or SequenceDataAdapter
that provide access to
a sequence object representing a row in the alignment should implement this interface.
This interface can be considered as the overlap between SequenceAccessAlignmentModel
and
SequenceDataAdapter
, but could also be implemented by classes not implementing one of these
interfaces.
Modifier and Type | Method and Description |
---|---|
S |
getSequence(java.lang.String sequenceID)
Returns the sequence object with the specified ID.
|
S getSequence(java.lang.String sequenceID)
If the implementing class also implements SequenceDataAdapter
the returned object can be a view
or copy of a sequence in the underlying data source depending in the return value of
SequenceDataAdapter.returnsCopies()
. If SequenceAccessAlignmentModel
is implemented
the object used to store the sequence data is returned.
sequenceID
- the ID of the sequence to be returned