copy


Description:

public Node copy ()

Copies this.

If the node contains complex data types, their reference counts are increased, regardless of whether the node is mutable or immutable.

The copy will be immutable if, and only if, this is immutable. However, there should be no need to copy an immutable node.

Parameters:

this

the node to copy

Returns:

the copied of the given node