Class 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 Detail

      • NonReusingMutableToRegularIteratorWrapper

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