Class MemStatementIterator

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

    public class MemStatementIterator
    extends Object
    implements org.eclipse.rdf4j.common.iteration.CloseableIteration<MemStatement>
    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.