WordMatchCompareTo Method (WordMatch) |
Compares two sequence matches so the result can be used in sorting.
The comparison is done by size and if the size is equal, by seq1
start position. If the sequence1 start positions are equal they are
sorted by sequence2 start position.
Namespace: BioAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public int CompareTo(
WordMatch other
)
Public Function CompareTo (
other As WordMatch
) As Integer
public:
virtual int CompareTo(
WordMatch^ other
) sealed
abstract CompareTo :
other : WordMatch -> int
override CompareTo :
other : WordMatch -> int
Parameters
- other
- Type: BioWordMatch
WordMatch object
Return Value
Type:
Int32
Returns zero if the objects have the same length, sequence1start and sequence2Start
If lengths are equal, then the objects are ordered by sequence1start
If lengths are equal and sequence1Start are equal, then the objects are ordered by sequence2start
Implements
IComparableTCompareTo(T)See Also