public class SAMRecordQueryHashComparator extends SAMRecordQueryNameComparator implements java.io.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
public int compare(SAMRecord lhs, SAMRecord rhs)
compare
in interface java.util.Comparator<SAMRecord>
compare
in class SAMRecordQueryNameComparator
public int fileOrderCompare(SAMRecord lhs, SAMRecord rhs)
fileOrderCompare
in interface SAMRecordComparator
fileOrderCompare
in class SAMRecordQueryNameComparator