public class RemovableCloseableIterator<C> extends RemovableIterator<C> implements CloseableIterator<C>
| Modifier and Type | Field and Description |
|---|---|
protected CloseableIterator<C> |
realIterator |
consumer, currentValue, previousValue| Constructor and Description |
|---|
RemovableCloseableIterator(CloseableIterator<C> realIterator,
Consumer<? super C> consumer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
getNextFromIterator, hasNext, next, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, hasNext, next, removeprotected final CloseableIterator<C> realIterator
public RemovableCloseableIterator(CloseableIterator<C> realIterator, Consumer<? super C> consumer)
public void close()
close in interface AutoCloseableclose in interface CloseableIterator<C>Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.