Class MemStatementIterator

  • All Implemented Interfaces:
    AutoCloseable, org.eclipse.rdf4j.common.iteration.CloseableIteration<MemStatement,​SailException>, org.eclipse.rdf4j.common.iteration.Iteration<MemStatement,​SailException>

    public class MemStatementIterator
    extends Object
    implements org.eclipse.rdf4j.common.iteration.CloseableIteration<MemStatement,​SailException>
    A StatementIterator that can iterate over a list of Statement objects. This iterator compares Resource and Literal objects using the '==' operator, which is possible thanks to the extensive sharing of these objects in the MemoryStore.