SAMRecordComparator
, Serializable
, Comparator<SAMRecord>
public class SAMRecordQueryHashComparator extends SAMRecordQueryNameComparator implements Serializable
Constructor | Description |
---|---|
SAMRecordQueryHashComparator() |
Modifier and Type | Method | 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.
|
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareReadNames
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