copy_deep


Description:

public Node<G> copy_deep (CopyFunc<G> copy_func)

Recursively copies a Node and its data.

Parameters:

this

a Node

copy_func

the function which is called to copy the data inside each node, or null to use the original data.

data

data to pass to copy_func

Returns:

a new Node containing copies of the data in this.