Package org.infinispan.query.core.impl
Class MappingIterator<S,T>
java.lang.Object
org.infinispan.query.core.impl.MappingIterator<S,T>
- Type Parameters:
S- Type of the original iteratorT- Resulting type
- All Implemented Interfaces:
AutoCloseable,Iterator<T>,org.infinispan.commons.util.CloseableIterator<T>
public final class MappingIterator<S,T>
extends Object
implements org.infinispan.commons.util.CloseableIterator<T>
A
CloseableIterator decorator that can be sliced and have its elements transformed.- Since:
- 11.0
-
Constructor Summary
ConstructorsConstructorDescriptionMappingIterator(org.infinispan.commons.util.CloseableIterator<S> iterator) MappingIterator(org.infinispan.commons.util.CloseableIterator<S> iterator, Function<? super S, ? extends T> mapper) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
MappingIterator
-
MappingIterator
-
-
Method Details