public class SAMRecordQueryNameComparator extends Object implements SAMRecordComparator, Serializable
| Constructor and Description |
|---|
SAMRecordQueryNameComparator() |
| Modifier and Type | Method and 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(SAMRecord samRecord1, SAMRecord samRecord2)
compare in interface Comparator<SAMRecord>public int fileOrderCompare(SAMRecord samRecord1, SAMRecord samRecord2)
fileOrderCompare in interface SAMRecordComparator