public class SAMRecordIterable extends Object implements htsjdk.samtools.util.CloseableIterator<htsjdk.samtools.SAMRecord>, Iterable<htsjdk.samtools.SAMRecord>
| Constructor and Description |
|---|
SAMRecordIterable(htsjdk.samtools.SAMRecordIterator base) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Manually (or automatically) close the base iterator.
|
boolean |
hasNext()
Determine if there is a next SAMRecord.
|
Iterator<htsjdk.samtools.SAMRecord> |
iterator() |
htsjdk.samtools.SAMRecord |
next()
If you call next and this is already closed, it will return null.
|
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingforEach, spliteratorpublic SAMRecordIterable(htsjdk.samtools.SAMRecordIterator base)
public Iterator<htsjdk.samtools.SAMRecord> iterator()
public void close()
close in interface htsjdk.samtools.util.CloseableIterator<htsjdk.samtools.SAMRecord>close in interface Closeableclose in interface AutoCloseablepublic boolean hasNext()
public htsjdk.samtools.SAMRecord next()
Copyright © 2018 Campagne Laboratory. All rights reserved.