Module jcifs

Interface CloseableIterator<T>

Type Parameters:
T - the type of elements returned by this iterator
All Superinterfaces:
AutoCloseable, Iterator<T>
All Known Implementing Classes:
DirFileEntryEnumIterator2, DirFileEntryEnumIteratorBase, EmptyIterator, NetServerEnumIterator

public interface CloseableIterator<T> extends Iterator<T>, AutoCloseable
An iterator that implements AutoCloseable to allow resource cleanup. This interface combines Iterator functionality with automatic resource management.
Author:
mbechler