import java.util.Iterator;
import java.util.List;
import java.util.function.Predicate;
public abstract class AlignmentIterator<T> implements Iterator<T>, AutoCloseable {
protected SAMRecordIterator samRecordIterator;
<BUG>protected List<Predicate<SAMRecord>> filters;
protected SAMRecord prevNext;</BUG>
public AlignmentIterator(SAMRecordIterator samRecordIterator) {
this(samRecordIterator, null);
}

import java.util.Iterator;
import java.util.List;
import java.util.function.Predicate;
public abstract class AlignmentIterator<T> implements Iterator<T>, AutoCloseable {
protected SAMRecordIterator samRecordIterator;
protected AlignmentFilters filters;
protected SAMRecord prevNext;
public AlignmentIterator(SAMRecordIterator samRecordIterator) {
this(samRecordIterator, null);
}
