Class FilterIterator<E>

java.lang.Object
org.eclipse.rdf4j.common.iterator.FilterIterator<E>
All Implemented Interfaces:
Iterator<E>

public abstract class FilterIterator<E> extends Object implements Iterator<E>
A CloseableIterator that wraps another iterator, applying a filter on the objects that are returned. Subclasses must implement the accept method to indicate which objects should be returned.