Example #1
0
 /**
  * Links two operand tree nodes.
  *
  * @param parent The parent node.
  * @param child The child node that is added to the parent.
  */
 public static void link(final COperandTreeNode parent, final COperandTreeNode child) {
   Preconditions.checkNotNull(child, "IE00218: Child argument can not be null");
   Preconditions.checkNotNull(parent, "IE00217: Parent argument can not be null");
   parent.children.add(child);
   child.parent = parent;
 }