Package org.infinispan.stream.impl
Class RemovableIterator<K,C>
- java.lang.Object
-
- org.infinispan.commons.util.RemovableIterator<C>
-
- org.infinispan.stream.impl.RemovableIterator<K,C>
-
- All Implemented Interfaces:
Iterator<C>
public class RemovableIterator<K,C> extends org.infinispan.commons.util.RemovableIterator<C>
Deprecated.Users should useRemovableIterator
insteadAn Iterator implementation that allows for a Iterator that doesn't allow remove operations to implement remove by delegating the call to the provided cache to remove the previously read value. The key used to remove from the cache is determined by first applying the removeFunction to the value retrieved from the iterator.- Since:
- 8.0
- Author:
- wburns
-
-
Method Summary
-
Methods inherited from class org.infinispan.commons.util.RemovableIterator
getNextFromIterator, hasNext, next, remove
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-