Package org.infinispan.commons.util
Class CloseableIteratorMapper<E,S>
- java.lang.Object
-
- org.infinispan.commons.util.IteratorMapper<E,S>
-
- org.infinispan.commons.util.CloseableIteratorMapper<E,S>
-
- All Implemented Interfaces:
AutoCloseable
,Iterator<S>
,CloseableIterator<S>
@Deprecated public class CloseableIteratorMapper<E,S> extends IteratorMapper<E,S> implements CloseableIterator<S>
Deprecated.since 9.3 users can just useIteratorMapper
as it handles CloseableIterators nowA iterator that maps each value to the output of the Function. Note that the remove is supported if the iterator originally supported remove.- Since:
- 8.0
- Author:
- William Burns
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
close()
Deprecated.-
Methods inherited from class org.infinispan.commons.util.IteratorMapper
hasNext, next, remove
-
-
-
-
Method Detail
-
close
public void close()
Deprecated.- Specified by:
close
in interfaceCloseableIterator<E>
- Overrides:
close
in classIteratorMapper<E,S>
-
-