Package htsjdk.samtools
Class SAMHeaderRecordComparator<T extends AbstractSAMHeaderRecord>
java.lang.Object
htsjdk.samtools.SAMHeaderRecordComparator<T>
- All Implemented Interfaces:
Serializable
,Comparator<T>
public class SAMHeaderRecordComparator<T extends AbstractSAMHeaderRecord>
extends Object
implements Comparator<T>, Serializable
Provides ordering based on SAM header records' attribute values. Provide the list of attributes to use
in the comparison to the constructor. Null attribute values (i.e., those attributes not present in the
record) sort behind those that have values.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
SAMHeaderRecordComparator
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<T extends AbstractSAMHeaderRecord>
-