ObjectDB ObjectDB

close(it) - JDO Extent's method

Method
javax.jdo.Extent
void close(
  Iterator<E> it
)

Close an Iterator associated with this Extent instance. Iterators closed by this method will return false to hasNext() and will throw NoSuchElementException on next(). The Extent instance can still be used as a parameter of Query.setExtent, and to get an Iterator.
Parameters:
it - an Iterator obtained by the method iterator() on this Extent instance.
Since:
JDO 1.0