KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mmbase > bridge > util > TreeIterator


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.util;
12
13 import org.mmbase.bridge.NodeIterator;
14
15 /**
16  * A specialized iterator for 'TreeLists'
17  *
18  * @author Michiel Meeuwissen
19  * @version $Id: TreeIterator.java,v 1.3 2004/10/09 09:37:34 nico Exp $
20  * @since MMBase-1.7
21  * @see org.mmbase.bridge.util.TreeList
22  */

23
24 public interface TreeIterator extends NodeIterator {
25     /**
26      * Depth of the last node fetched with next() or nextNode()
27      * @return Depth of the last node fetched
28      */

29     int currentDepth();
30
31 }
32
Popular Tags