Class IteratorTxnTracker<T>

java.lang.Object
org.apache.jena.atlas.iterator.IteratorWrapper<T>
org.apache.jena.dboe.transaction.txn.IteratorTxnTracker<T>
All Implemented Interfaces:
Iterator<T>, org.apache.jena.atlas.iterator.IteratorCloseable<T>, org.apache.jena.atlas.lib.Closeable

public class IteratorTxnTracker<T> extends org.apache.jena.atlas.iterator.IteratorWrapper<T>
Wrapper to check that an iterator is used inside its originating transaction.
  • Constructor Details

  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<T>
      Overrides:
      hasNext in class org.apache.jena.atlas.iterator.IteratorWrapper<T>
    • next

      public T next()
      Specified by:
      next in interface Iterator<T>
      Overrides:
      next in class org.apache.jena.atlas.iterator.IteratorWrapper<T>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<T>
      Overrides:
      remove in class org.apache.jena.atlas.iterator.IteratorWrapper<T>