Examples of childCollection()


Examples of net.sourceforge.cruisecontrol.gui.configuration.tree.nodes.RootNode.childCollection()

        "Proj1",
        "Proj2");
    TreeModel model = tree.getModel();
    RootNode root = (RootNode) model.getRoot();
   
    Iterator<Node> iterator = root.childCollection().iterator();
    assertEquals("Proj1", iterator.next().getName());
    assertEquals("Proj2", iterator.next().getName());
    assertFalse(iterator.hasNext());
  }
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.