Class IteratorCloseableIteration<E,X extends Exception>
- java.lang.Object
-
- org.eclipse.rdf4j.common.iteration.IteratorIteration<E,X>
-
- org.eclipse.rdf4j.common.iteration.IteratorCloseableIteration<E,X>
-
- All Implemented Interfaces:
AutoCloseable
,CloseableIteration<E,X>
,Iteration<E,X>
@Deprecated @InternalUseOnly public class IteratorCloseableIteration<E,X extends Exception> extends IteratorIteration<E,X> implements CloseableIteration<E,X>
Deprecated.since 3.0. This feature is for internal use only: its existence, signature or behavior may change without warning from one release to the next.
-
-
Constructor Summary
Constructors Constructor Description IteratorCloseableIteration(Iterator<? extends E> iter)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
close()
Deprecated.Closes this iteration, freeing any resources that it is holding.-
Methods inherited from class org.eclipse.rdf4j.common.iteration.IteratorIteration
hasNext, next, remove
-
-
-
-
Method Detail
-
close
public void close() throws X extends Exception
Deprecated.Description copied from interface:CloseableIteration
Closes 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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseableIteration<E,X extends Exception>
- Throws:
X extends Exception
-
-