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 void
close()
forces the release of any resources that might be associated with this object.boolean
hasNext()
java.lang.Object
next()
void
remove()
-
-
-
Method Detail
-
hasNext
boolean hasNext() throws UnreliableIteratorException
- Specified by:
hasNext
in interfaceUIterator
- Throws:
UnreliableIteratorException
-
next
java.lang.Object next() throws UnreliableIteratorException
- Specified by:
next
in interfaceUIterator
- Throws:
UnreliableIteratorException
-
remove
void remove() throws UnreliableIteratorException
- Specified by:
remove
in interfaceUIterator
- 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 interfaceClosableResource
- Specified by:
close
in interfaceUIterator
- Throws:
UnreliableIteratorException
-
-