Package com.mchange.v1.util
Class WrapperUIterator
java.lang.Object
com.mchange.v1.util.WrapperUIterator
- All Implemented Interfaces:
ClosableResource
,UIterator
This implementation does not yet support removes once hasNext() has
been called... will add if necessary.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionWrapperUIterator
(UIterator inner) WrapperUIterator
(UIterator inner, boolean supports_remove) -
Method Summary
-
Field Details
-
SKIP_TOKEN
-
-
Constructor Details
-
WrapperUIterator
-
WrapperUIterator
-
-
Method Details
-
hasNext
-
next
- Specified by:
next
in interfaceUIterator
- Throws:
NoSuchElementException
Exception
-
remove
-
close
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:
Exception
-
transformObject
return SKIP_TOKEN to indicate an object should be skipped, i.e., not exposed as part of the iterator. (we don't use null, because we want to support iterators over null-accepting Collections.)- Throws:
Exception
-