Class DistinctIteration<E,X extends Exception>
java.lang.Object
org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<E,X>
org.eclipse.rdf4j.common.iteration.IterationWrapper<E,X>
org.eclipse.rdf4j.common.iteration.FilterIteration<E,X>
org.eclipse.rdf4j.common.iteration.DistinctIteration<E,X>
- All Implemented Interfaces:
AutoCloseable
,CloseableIteration<E,
,X> Iteration<E,
X>
- Direct Known Subclasses:
LimitedSizeDistinctIteration
@Deprecated(since="4.1.0")
public class DistinctIteration<E,X extends Exception>
extends FilterIteration<E,X>
Deprecated.
An Iteration that filters any duplicate elements from an underlying iterator.
-
Field Summary
Fields inherited from class org.eclipse.rdf4j.common.iteration.IterationWrapper
wrappedIter
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.rdf4j.common.iteration.FilterIteration
handleClose, hasNext, next
Methods inherited from class org.eclipse.rdf4j.common.iteration.IterationWrapper
remove
Methods inherited from class org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration
close, isClosed
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
-
Constructor Details
-
DistinctIteration
Deprecated.Creates a new DistinctIterator.- Parameters:
iter
- The underlying iterator.
-
DistinctIteration
Deprecated.
-
-
Method Details
-
accept
Deprecated.Returns true if the specified object hasn't been seen before. -
add
Deprecated. -
makeSet
Deprecated.
-