Class DualUnionIteration<E>
java.lang.Object
org.eclipse.rdf4j.common.iteration.DualUnionIteration<E>
- All Implemented Interfaces:
AutoCloseable
,Iterator<E>
,CloseableIteration<E>
@Deprecated(since="4.1.0")
public class DualUnionIteration<E>
extends Object
implements CloseableIteration<E>
Deprecated.
Provides a bag union of the two provided iterations.
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
close()
Deprecated.Closes this iteration, freeing any resources that it is holding.static <E,
X extends Exception>
CloseableIteration<E>getInstance
(CloseableIteration<E> leftIteration, CloseableIteration<E> rightIteration) Deprecated.Deprecated.static <E,
X extends Exception>
CloseableIteration<? extends E>getWildcardInstance
(CloseableIteration<? extends E> leftIteration, CloseableIteration<? extends E> rightIteration) Deprecated.final boolean
hasNext()
Deprecated.final E
next()
Deprecated.void
remove()
Deprecated.Throws anUnsupportedOperationException
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.rdf4j.common.iteration.CloseableIteration
stream
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Method Details
-
getWildcardInstance
public static <E,X extends Exception> CloseableIteration<? extends E> getWildcardInstance(CloseableIteration<? extends E> leftIteration, CloseableIteration<? extends E> rightIteration) Deprecated. -
getInstance
public static <E,X extends Exception> CloseableIteration<E> getInstance(CloseableIteration<E> leftIteration, CloseableIteration<E> rightIteration) Deprecated. -
getNextElement
Deprecated. -
hasNext
public final boolean hasNext()Deprecated. -
next
Deprecated. -
remove
public void remove()Deprecated.Throws anUnsupportedOperationException
. -
close
public final void close()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>
-