Package com.atlassian.jira.util.collect
Interface CloseableIterator<E>
- All Superinterfaces:
AutoCloseable,Closeable,Closeable,Iterator<E>
- All Known Subinterfaces:
IssueIterator
- All Known Implementing Classes:
DBActiveIssuesIterator
For iterators that need to be closed after use. All CloseableIterators should be unmodifiable and throw exceptions if
the
remove() method is called.- Since:
- v3.13
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic classUtility class for transforming aEnclosedIterableinto aList. -
Field Summary
-
Method Summary
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next
-
Method Details
-
remove
void remove()Unsupported operation.- Specified by:
removein interfaceIterator<E>- Throws:
UnsupportedOperationException- always
-