01: /*
02:
03: This software is OSI Certified Open Source Software.
04: OSI Certified is a certification mark of the Open Source Initiative.
05:
06: The license (Mozilla version 1.0) can be read at the MMBase site.
07: See http://www.MMBase.org/license
08:
09: */
10: package org.mmbase.util;
11:
12: import java.util.*;
13:
14: /**
15: * An iterator which may need closing (e.g. when wrapping a ResultSet).
16: *
17: * @version $Id: CloseableIterator.java,v 1.1 2006/09/06 13:47:01 michiel Exp $
18: * @author Michiel Meeuwissen
19: * @since MMBase-1.9
20: **/
21: public interface CloseableIterator<E> extends Iterator<E> {
22: void close();
23: }
|