Interface ResIterator

All Superinterfaces:
ClosableIterator<Resource>, org.apache.jena.atlas.lib.Closeable, ExtendedIterator<Resource>, Iterator<Resource>, org.apache.jena.atlas.iterator.IteratorCloseable<Resource>
All Known Implementing Classes:

public interface ResIterator extends ExtendedIterator<Resource>
An iterator which returns RDF Resources.

RDF iterators are standard Java iterators, except that they have an extra method that returns a specifically typed object, in this case RDF Resource, and have a close() method that should be called to free resources if the caller does not complete the iteration.

  • Method Details