Interface CloseableIterator<T>
- All Superinterfaces:
AutoCloseable, Iterator<T>
Unification of
Iterator and AutoCloseable.- Since:
- 5.2
-
Method Summary
Methods inherited from interface Iterator
forEachRemaining, hasNext, next, remove
-
Method Details
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-