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, nextremoveclose, isClosedCopyright © 2015-2021 Eclipse Foundation. All Rights Reserved.