de.uplanet.lucy.server.usermanager.orgstructure
Class DsContainerDepthFirstIterator

java.lang.Object
  extended by de.uplanet.lucy.server.usermanager.orgstructure.DsContainerDepthFirstIterator
All Implemented Interfaces:
java.lang.Iterable<DsContainerNode>, java.util.Iterator<DsContainerNode>

@Scriptable
public final class DsContainerDepthFirstIterator
extends java.lang.Object
implements java.util.Iterator<DsContainerNode>, java.lang.Iterable<DsContainerNode>

Iterate over the given container node and all it's subnodes in depth-first order.

Version:
$Revision: 71650 $

Constructor Summary
DsContainerDepthFirstIterator(DsContainerNode p_dsnCont)
           
 
Method Summary
 boolean hasNext()
           
 java.util.Iterator<DsContainerNode> iterator()
           
 DsContainerNode next()
           
 void remove()
          Always throws an java.lang.UnsupportedOperationException.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DsContainerDepthFirstIterator

public DsContainerDepthFirstIterator(DsContainerNode p_dsnCont)
Parameters:
p_dsnCont - The container node to start iteration from.
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<DsContainerNode>

next

public DsContainerNode next()
Specified by:
next in interface java.util.Iterator<DsContainerNode>

remove

public void remove()
Always throws an java.lang.UnsupportedOperationException.

Specified by:
remove in interface java.util.Iterator<DsContainerNode>

iterator

public java.util.Iterator<DsContainerNode> iterator()
Specified by:
iterator in interface java.lang.Iterable<DsContainerNode>


Last updated: 2011-08-11 10-04
Copyright © 2000-2011 United Planet. All Rights Reserved.