proai
Interface CloseableIterator<T>

All Superinterfaces:
java.util.Iterator<T>
All Known Subinterfaces:
RemoteIterator<T>
All Known Implementing Classes:
CachedRecordContentIterator, RemoteIteratorImpl, StringResultIterator

public interface CloseableIterator<T>
extends java.util.Iterator<T>


Method Summary
 void close()
           
 boolean hasNext()
           
 T next()
           
 void remove()
           
 

Method Detail

hasNext

boolean hasNext()
                throws ServerException
Specified by:
hasNext in interface java.util.Iterator<T>
Throws:
ServerException

next

T next()
       throws ServerException
Specified by:
next in interface java.util.Iterator<T>
Throws:
ServerException

close

void close()
           throws ServerException
Throws:
ServerException

remove

void remove()
            throws java.lang.UnsupportedOperationException
Specified by:
remove in interface java.util.Iterator<T>
Throws:
java.lang.UnsupportedOperationException