public class AsyncIterator<T>
extends java.lang.Object
implements htsjdk.samtools.util.CloseableIterator<T>
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_QUEUE_SIZE |
| Constructor and Description |
|---|
AsyncIterator(htsjdk.samtools.util.CloseableIterator<T> underlyingIterator,
int queueSize,
java.lang.String threadNamePrefix) |
public static final int DEFAULT_QUEUE_SIZE
public AsyncIterator(htsjdk.samtools.util.CloseableIterator<T> underlyingIterator, int queueSize, java.lang.String threadNamePrefix)
public boolean hasNext()
hasNext in interface java.util.Iterator<T>public void remove()
remove in interface java.util.Iterator<T>public void close()
close in interface htsjdk.samtools.util.CloseableIterator<T>close in interface java.io.Closeableclose in interface java.lang.AutoCloseable