Package org.infinispan.commons.util
Class RemovableIterator<C>
java.lang.Object
org.infinispan.commons.util.RemovableIterator<C>
- All Implemented Interfaces:
Iterator<C>
- Direct Known Subclasses:
RemovableCloseableIterator
,RemovableIterator
An Iterator implementation that allows for a Iterator that doesn't allow remove operations to
implement remove by delegating the call to the provided consumer to remove the previously read value.
- Since:
- 9.1
- Author:
- wburns
-
Field Details
-
realIterator
-
consumer
-
previousValue
-
currentValue
-
-
Constructor Details
-
RemovableIterator
-
-
Method Details