@Test public void Single_Path() { PropertyTree tree = PropertyTree.build(children_0_name()); assertPropertyTree(tree, 1); tree = assertPropertyTree(tree, "children", 1); tree = assertPropertyTree(tree, 0, 1); tree = assertPropertyTree(tree, "name", 0); }
public static PropertyTree build(PropertyPath...paths) { return build(Arrays.asList(paths)); }
PropertyTree { public static PropertyTree build(PropertyPath...paths) { return build(Arrays.asList(paths)); } }
PropertyTree { public static PropertyTree build(PropertyPath...paths) { return build(Arrays.asList(paths)); } private  PropertyTree(PropertyPath path); }
PropertyTree { public static PropertyTree build(PropertyPath...paths) { return build(Arrays.asList(paths)); } private  PropertyTree(PropertyPath path); static PropertyTree build(PropertyPath...paths); static PropertyTree build(Collection<PropertyPath> paths); NodeId getNodeId(); Collection<PropertyTree> getChildren(); SortedMap<NodeId, PropertyTree> getChildrenMap(); PropertyTree get(NodeId childNode); boolean hasChildren(); PropertyTree get(PropertyPath path); String toString(); }
PropertyTree { public static PropertyTree build(PropertyPath...paths) { return build(Arrays.asList(paths)); } private  PropertyTree(PropertyPath path); static PropertyTree build(PropertyPath...paths); static PropertyTree build(Collection<PropertyPath> paths); NodeId getNodeId(); Collection<PropertyTree> getChildren(); SortedMap<NodeId, PropertyTree> getChildrenMap(); PropertyTree get(NodeId childNode); boolean hasChildren(); PropertyTree get(PropertyPath path); String toString(); final PropertyPath path; }