SAMRecordComparator
, Serializable
, Comparator<SAMRecord>
SAMRecordQueryHashComparator
public class SAMRecordQueryNameComparator extends Object implements SAMRecordComparator, Serializable
Constructor | Description |
---|---|
SAMRecordQueryNameComparator() |
Modifier and Type | Method | Description |
---|---|---|
int |
compare(SAMRecord samRecord1,
SAMRecord samRecord2) |
|
static int |
compareReadNames(String readName1,
String readName2) |
Encapsulate algorithm for comparing read names in queryname-sorted file, since there have been
conversations about changing the behavior.
|
int |
fileOrderCompare(SAMRecord samRecord1,
SAMRecord samRecord2) |
Less stringent compare method than the regular compare.
|
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(SAMRecord samRecord1, SAMRecord samRecord2)
compare
in interface Comparator<SAMRecord>
public int fileOrderCompare(SAMRecord samRecord1, SAMRecord samRecord2)
fileOrderCompare
in interface SAMRecordComparator