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:
11: package org.mmbase.bridge;
12:
13: import java.util.ListIterator;
14:
15: /**
16: * A list of nodes
17: *
18: * @author Pierre van Rooden
19: * @version $Id: ModuleIterator.java,v 1.8 2007/02/10 15:47:42 nklasens Exp $
20: */
21: public interface ModuleIterator extends ListIterator<Module> {
22:
23: /**
24: * Returns the next element in the iterator as a Module
25: * @return next Module
26: */
27: public Module nextModule();
28:
29: /**
30: * Returns the previous element in the iterator as a Module
31: * @return previous Module
32: * @since MMBase-1.7
33: */
34: public Module previousModule();
35:
36: }
|