Replaces one of the child nodes with a new node.
@param current The current child node.
@param replacement The new child node.
@throws IllegalArgumentException If current is not one of node's children.
@throws ClassCastException If replacement is of an incompatible type.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.