Class DuplicateSetIterator

  • All Implemented Interfaces:
    CloseableIterator<DuplicateSet>, Closeable, AutoCloseable, Iterator<DuplicateSet>

    public class DuplicateSetIterator
    extends Object
    implements CloseableIterator<DuplicateSet>
    An iterator of sets of duplicates. Duplicates are defined currently by the ordering in SAMRecordDuplicateComparator.

    If the input records are not pre-sorted according to the duplicate ordering, the records will be sorted on-the-fly. This may require extra memory or disk to buffer records, and also computational time to perform the sorting.