public class CramSpanContainerIterator extends Object implements Iterator<Container>
SeekableStream
. The locations are specified with
pairs of coordinates, they are basically file pointers as returned for example by SamReader.Indexing.getFilePointerSpanningReads()
Modifier and Type | Method and Description |
---|---|
static CramSpanContainerIterator |
fromFileSpan(SeekableStream seekableStream,
long[] coordinates) |
CramHeader |
getCramHeader() |
long |
getFirstContainerOffset() |
boolean |
hasNext() |
Container |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public static CramSpanContainerIterator fromFileSpan(SeekableStream seekableStream, long[] coordinates) throws IOException
IOException
public CramHeader getCramHeader()
public long getFirstContainerOffset()