public class DistinctIteration<E,X extends Exception> extends FilterIteration<E,X>
wrappedIter
Constructor and Description |
---|
DistinctIteration(Iteration<? extends E,? extends X> iter)
Creates a new DistinctIterator.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
accept(E object)
Returns true if the specified object hasn't been seen before.
|
protected boolean |
add(E object) |
protected Set<E> |
makeSet() |
handleClose, hasNext, next
remove
close, isClosed
Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.