public class ReusingMutableToRegularIteratorWrapper<T> extends Object implements Iterator<T>, Iterable<T>
MutableObjectIterator into a regular Iterator. Internally, it
uses two record instances which it uses alternating. That way, whenever hasNext() returns
(possibly with false), the previous obtained record is still valid and cannot have been
overwritten internally.| 构造器和说明 |
|---|
ReusingMutableToRegularIteratorWrapper(org.apache.flink.util.MutableObjectIterator<T> source,
org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
hasNext() |
Iterator<T> |
iterator() |
T |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingforEach, spliteratorCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.