com.mchange.v1.util
Interface UIterator

All Superinterfaces:
ClosableResource
All Known Subinterfaces:
FileIterator, UnreliableIterator
All Known Implementing Classes:
CBPCursor, SimpleCursor, WrapperUIterator

public interface UIterator
extends ClosableResource

Incomplete parent of "Unreliable Iterator" This is often bound to a scarce resource! Don't forget to close it when you are done!!! This interface is not intended to be implemented directly, but to be extended by subinterfaces that narrow the exceptions reasonably.


Method Summary
 void close()
          forces the release of any resources that might be associated with this object.
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 

Method Detail

hasNext

boolean hasNext()
                throws Exception
Throws:
Exception

next

Object next()
            throws Exception
Throws:
Exception

remove

void remove()
            throws Exception
Throws:
Exception

close

void close()
           throws Exception
Description copied from interface: ClosableResource
forces the release of any resources that might be associated with this object.

Specified by:
close in interface ClosableResource
Throws:
Exception