Example #1
0
 public void removeChild(TreeParentNode child) {
   children.remove(child);
   child.setParent(null);
 }
Example #2
0
 public void addChild(TreeParentNode child) {
   children.add(child);
   child.setParent(this);
 }