Class WeakObjectRegistry.AutoCloseableIterator<E>

java.lang.Object
org.eclipse.rdf4j.sail.memory.model.WeakObjectRegistry.AutoCloseableIterator<E>
All Implemented Interfaces:
AutoCloseable, Iterator<E>
Enclosing class:
WeakObjectRegistry<K,E extends K>

public static class WeakObjectRegistry.AutoCloseableIterator<E> extends Object implements Iterator<E>, AutoCloseable
  • Constructor Details

    • AutoCloseableIterator

      public AutoCloseableIterator(Map<E,WeakReference<E>>[] objectMap, org.eclipse.rdf4j.sail.memory.model.WeakObjectRegistry.AdderBasedReadWriteLock[] locks)
  • Method Details

    • init

      public void init()
    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<E>
    • next

      public E next()
      Specified by:
      next in interface Iterator<E>
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable