- All Implemented Interfaces:
- htsjdk.samtools.util.CloseableIterator<T>, java.io.Closeable, java.lang.AutoCloseable, java.util.Iterator<T>
public class PredicateFilterDecoratingClosableIterator<T>
extends java.lang.Object
implements htsjdk.samtools.util.CloseableIterator<T>
Performs on-the-fly filtering of the provided VariantContext Iterator such that only variants that satisfy
all predicates are emitted.
This class only exists because Iterators.filter(Iterator, Predicate) won't produce a CloseableIterator, which is
necessary.