Interface CloseableIterator<T>
- Type Parameters:
T- The type of the elements
- All Superinterfaces:
AutoCloseable, Closeable, Iterator<T>
- All Known Implementing Classes:
CloseableIterator.AlwaysClosed
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAn iterator with no entries that is closed upon initialization. -
Method Summary
Methods inherited from interface Iterator
forEachRemaining, hasNext, next, remove