public class DefaultCloseableIterator<T> extends Object implements CloseableIterator<T>
CloseableIterator that simply wraps an existing Iterator. This
 implementation has a "do nothing" implementation of CloseableIterator.close().| Constructor and Description | 
|---|
| DefaultCloseableIterator(Iterator<T> iterator) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | hasNext() | 
| T | next() | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasCloseable, close, closeIteratorforEachRemaining, removeCopyright © 2013–2022 Apache Software Foundation. All rights reserved.