com.mchange.v1.util
Interface UnreliableIterator
- All Superinterfaces:
- ClosableResource, UIterator
public interface UnreliableIterator
- extends UIterator
This is often bound to a scarce resource! Don't
forget to close it when you are done!!!
Method Summary |
void |
close()
forces the release of any resources that might be
associated with this object. |
boolean |
hasNext()
|
Object |
next()
|
void |
remove()
|
hasNext
boolean hasNext()
throws UnreliableIteratorException
- Specified by:
hasNext
in interface UIterator
- Throws:
UnreliableIteratorException
next
Object next()
throws UnreliableIteratorException
- Specified by:
next
in interface UIterator
- Throws:
UnreliableIteratorException
remove
void remove()
throws UnreliableIteratorException
- Specified by:
remove
in interface UIterator
- Throws:
UnreliableIteratorException
close
void close()
throws UnreliableIteratorException
- Description copied from interface:
ClosableResource
- forces the release of any resources that might be
associated with this object.
- Specified by:
close
in interface ClosableResource
- Specified by:
close
in interface UIterator
- Throws:
UnreliableIteratorException