Package 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()forces the release of any resources that might be associated with this object.booleanhasNext()java.lang.Objectnext()voidremove()
-
-
-
Method Detail
-
hasNext
boolean hasNext() throws UnreliableIteratorException- Specified by:
hasNextin interfaceUIterator- Throws:
UnreliableIteratorException
-
next
java.lang.Object next() throws UnreliableIteratorException- Specified by:
nextin interfaceUIterator- Throws:
UnreliableIteratorException
-
remove
void remove() throws UnreliableIteratorException- Specified by:
removein interfaceUIterator- Throws:
UnreliableIteratorException
-
close
void close() throws UnreliableIteratorExceptionDescription copied from interface:ClosableResourceforces the release of any resources that might be associated with this object.- Specified by:
closein interfaceClosableResource- Specified by:
closein interfaceUIterator- Throws:
UnreliableIteratorException
-
-