public NodeWithChildren copy (Node orig) { NodeWithChildren other = (NodeWithChildren)orig; if (other.nodes != null) { for (Node n: other.nodes) { Node copy = n.createClone (); copy.copy (n); addNode (copy); } } return this; }
public NodeWithChildren copy (Node orig) { NodeWithChildren other = (NodeWithChildren)orig; if (other.nodes != null) { for (Node n: other.nodes) { Node copy = n.createClone (); copy.copy (n); addNode (copy); } } return this; }