NodeIterator.java :  » Database-ORM » MMBase » org » mmbase » bridge » Java Open Source

Java Open Source » Database ORM » MMBase 
MMBase » org » mmbase » bridge » NodeIterator.java
/*

This software is OSI Certified Open Source Software.
OSI Certified is a certification mark of the Open Source Initiative.

The license (Mozilla version 1.0) can be read at the MMBase site.
See http://www.MMBase.org/license

*/

package org.mmbase.bridge;
import java.util.ListIterator;

/**
 * A list of nodes
 *
 * @author Pierre van Rooden
 * @version $Id: NodeIterator.java,v 1.9 2007/02/10 15:47:42 nklasens Exp $
 */
public interface NodeIterator extends ListIterator<Node> {

    /**
     * Returns the next element in the iterator as a Node
     * @return next Node
     */
    public Node nextNode();

    /**
     * Returns the previous element in the iterator as a Node
     * @return previous Node
     * @since MMBase-1.7
     */
    public Node previousNode();

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.