updateChild abstract method

Node updateChild(
  1. Path path,
  2. Node newChild
)

This node with the node at path replaced by newChild.

Implementation

Node updateChild(Path path, Node newChild);