Package org.apache.flink.runtime.util
Class NonReusingMutableToRegularIteratorWrapper<T>
java.lang.Object
org.apache.flink.runtime.util.NonReusingMutableToRegularIteratorWrapper<T>
public class NonReusingMutableToRegularIteratorWrapper<T>
extends Object
implements Iterator<T>, Iterable<T>
This class wraps a
MutableObjectIterator into a regular Iterator. It will always create new instances and not reuse objects.-
Constructor Summary
ConstructorsConstructorDescriptionNonReusingMutableToRegularIteratorWrapper(org.apache.flink.util.MutableObjectIterator<T> source, org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
NonReusingMutableToRegularIteratorWrapper
-
-
Method Details