com.atlassian.jira.util.collect
Interface CloseableIterator

All Superinterfaces:
Closeable, Iterator

public interface CloseableIterator
extends Iterator, Closeable

For iterators that need to be closed after use. All CloseableIterators should be unmodifiable.

Since:
v3.13

Nested Class Summary
static class CloseableIterator.ListResolver
           
 
Method Summary
 void close()
          No need to throw exception.
 void remove()
          Unsupported operation.
 
Methods inherited from interface java.util.Iterator
hasNext, next
 

Method Detail

remove

void remove()
Unsupported operation.

Specified by:
remove in interface Iterator
Throws:
UnsupportedOperationException

close

void close()
No need to throw exception.

Specified by:
close in interface Closeable


Copyright © 2002-2009 Atlassian. All Rights Reserved.