Class NonReusingMutableToRegularIteratorWrapper<T>

java.lang.Object
org.apache.flink.runtime.util.NonReusingMutableToRegularIteratorWrapper<T>
All Implemented Interfaces:
Iterable<T>, Iterator<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 Details

    • NonReusingMutableToRegularIteratorWrapper

      public NonReusingMutableToRegularIteratorWrapper(org.apache.flink.util.MutableObjectIterator<T> source, org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer)
  • Method Details