Class CloseablePeakableIteration<E>
java.lang.Object
org.eclipse.rdf4j.sail.shacl.wrapper.data.CloseablePeakableIteration<E>
- All Implemented Interfaces:
AutoCloseable, Iterator<E>, CloseableIteration<E>
@InternalUseOnly
public class CloseablePeakableIteration<E>
extends Object
implements CloseableIteration<E>
-
Field Summary
Fields inherited from interface CloseableIteration
EMPTY_STATEMENT_ITERATION -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CloseableIteration
streamMethods inherited from interface Iterator
forEachRemaining
-
Constructor Details
-
CloseablePeakableIteration
-
-
Method Details
-
close
public void close()Description copied from interface:CloseableIterationCloses this iteration, freeing any resources that it is holding. If the iteration has already been closed then invoking this method has no effect.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseableIteration<E>
-
hasNext
-
next
-
remove
-
peek
-