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: * An iterator for a list of strings
17: *
18: * @author Pierre van Rooden
19: * @version $Id: StringIterator.java,v 1.8 2007/02/10 15:47:42 nklasens Exp $
20: */
21: public interface StringIterator extends ListIterator<String> {
22:
23: /**
24: * Returns the next element in the iterator as a String
25: * @return next String
26: */
27: public String nextString();
28:
29: /**
30: * Returns the previous element in the iterator as a String
31: * @return previous String
32: * @since MMBase-1.7
33: */
34: public String previousString();
35:
36: }
|