public class SAMRecordQueryHashComparator extends SAMRecordQueryNameComparator implements Serializable
Constructor and Description |
---|
SAMRecordQueryHashComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(SAMRecord lhs,
SAMRecord rhs)
Compares two records based on an integer hash of their read name's.
|
int |
fileOrderCompare(SAMRecord lhs,
SAMRecord rhs)
Compares two records based on an integer hash of their read names.
|
compareReadNames
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(SAMRecord lhs, SAMRecord rhs)
compare
in interface Comparator<SAMRecord>
compare
in class SAMRecordQueryNameComparator
public int fileOrderCompare(SAMRecord lhs, SAMRecord rhs)
fileOrderCompare
in interface SAMRecordComparator
fileOrderCompare
in class SAMRecordQueryNameComparator