@Test public void testGetChildren() { assertEquals(1, node1.getChildren().size()); assertEquals(1, node2.getChildren().size()); assertEquals(0, node3.getChildren().size()); }
public Collection<VisualLexiconNode> getChildren() { return children; }
VisualLexiconNode implements Comparable<VisualLexiconNode> { public Collection<VisualLexiconNode> getChildren() { return children; } }
VisualLexiconNode implements Comparable<VisualLexiconNode> { public Collection<VisualLexiconNode> getChildren() { return children; } VisualLexiconNode(final VisualProperty<?> vp, final VisualLexiconNode parent); }
VisualLexiconNode implements Comparable<VisualLexiconNode> { public Collection<VisualLexiconNode> getChildren() { return children; } VisualLexiconNode(final VisualProperty<?> vp, final VisualLexiconNode parent); VisualProperty<?> getVisualProperty(); VisualLexiconNode getParent(); Collection<VisualLexiconNode> getChildren(); @Override int compareTo(VisualLexiconNode other); void visitDescendants(Consumer<VisualLexiconNode> visitor); }
VisualLexiconNode implements Comparable<VisualLexiconNode> { public Collection<VisualLexiconNode> getChildren() { return children; } VisualLexiconNode(final VisualProperty<?> vp, final VisualLexiconNode parent); VisualProperty<?> getVisualProperty(); VisualLexiconNode getParent(); Collection<VisualLexiconNode> getChildren(); @Override int compareTo(VisualLexiconNode other); void visitDescendants(Consumer<VisualLexiconNode> visitor);  }