public final class ReplayableStreamIterator<T> extends Object implements StreamIterator<T>
| Constructor and Description |
|---|
ReplayableStreamIterator(StreamIterator<T> it,
int maxReplay) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Idempotent method for cancellation.
|
boolean |
hasNext() |
T |
next() |
void |
replay(int count) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnextNullCheckedforEachRemaining, removepublic ReplayableStreamIterator(StreamIterator<T> it, int maxReplay)
public void dispose()
StreamIteratordispose in interface StreamIterator<T>public void replay(int count)
Copyright © 2018–2023. All rights reserved.