- All Implemented Interfaces:
- Iterator<C>
- Direct Known Subclasses:
- RemovableCloseableIterator
public class RemovableIterator<K,C>
extends Object
implements Iterator<C>
An 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