- All Implemented Interfaces:
java.util.Iterator<T>
, org.apache.jena.atlas.iterator.IteratorCloseable<T>
, org.apache.jena.atlas.lib.Closeable
, Abortable
public class IterAbortable<T>
extends org.apache.jena.atlas.iterator.IteratorWrapper<T>
implements Abortable, org.apache.jena.atlas.iterator.IteratorCloseable<T>
Plain iterator version to add "abort" functionality.
Iterator that adds an abort operation which can be called at any time,
including from another thread, and causes the iterator to throw an exception
when next touched (hasNext, next).