public class BAMFileReader.BAMQueryFilteringIterator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected SAMRecord |
mNextRecord
The next record to be returned.
|
protected CloseableIterator<SAMRecord> |
wrappedIterator
The wrapped iterator.
|
Constructor and Description |
---|
BAMQueryFilteringIterator(CloseableIterator<SAMRecord> iterator,
htsjdk.samtools.BAMIteratorFilter iteratorFilter) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns true if a next element exists; false otherwise.
|
SAMRecord |
next()
Gets the next record from the given iterator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
stream, toList
protected final CloseableIterator<SAMRecord> wrappedIterator
protected SAMRecord mNextRecord
public BAMQueryFilteringIterator(CloseableIterator<SAMRecord> iterator, htsjdk.samtools.BAMIteratorFilter iteratorFilter)
public boolean hasNext()
public SAMRecord next()