public interface SAMRecordIterator extends CloseableIterator<SAMRecord>
Modifier and Type | Method and Description |
---|---|
SAMRecordIterator |
assertSorted(SAMFileHeader.SortOrder sortOrder)
Establishes that records returned by this iterator are expected to
be in the specified sort order.
|
close, stream, toList
SAMRecordIterator assertSorted(SAMFileHeader.SortOrder sortOrder)
sortOrder
- The order in which records are expected to be returned