public class IteratorBufferedIterator<T>
extends Object
implements BufferedIterator
An implementation for BufferedIterator wraps Iterator.
| Constructor and description |
|---|
IteratorBufferedIterator(Iterator<T> iter)Creates a buffered iterator that can peek into the supplied iterator. |
Creates a buffered iterator that can peek into the supplied iterator.
iter - the iterator to wrapCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.