KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mmbase > bridge > StringIterator


1 /*
2
3 This software is OSI Certified Open Source Software.
4 OSI Certified is a certification mark of the Open Source Initiative.
5
6 The license (Mozilla version 1.0) can be read at the MMBase site.
7 See http://www.MMBase.org/license
8
9 */

10
11 package org.mmbase.bridge;
12 import java.util.ListIterator JavaDoc;
13
14 /**
15  * An iterator for a list of strings
16  *
17  * @author Pierre van Rooden
18  * @version $Id: StringIterator.java,v 1.6 2004/10/09 09:39:32 nico Exp $
19  */

20 public interface StringIterator extends ListIterator JavaDoc {
21
22     /**
23      * Returns the next element in the iterator as a String
24      * @return next String
25      */

26     public String JavaDoc nextString();
27
28     /**
29      * Returns the previous element in the iterator as a String
30      * @return previous String
31      * @since MMBase-1.7
32      */

33     public String JavaDoc previousString();
34
35 }
36
Popular Tags