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 Summary
Constructors Constructor Description AutoCloseableIterator(Map<E,WeakReference<E>>[] objectMap, org.eclipse.rdf4j.sail.memory.model.WeakObjectRegistry.AdderBasedReadWriteLock[] locks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
hasNext()
void
init()
E
next()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Constructor Detail
-
AutoCloseableIterator
public AutoCloseableIterator(Map<E,WeakReference<E>>[] objectMap, org.eclipse.rdf4j.sail.memory.model.WeakObjectRegistry.AdderBasedReadWriteLock[] locks)
-
-