DeepCopy (NamedArraylist function)

From m204wiki
Jump to navigation Jump to search

Deep Copy NamedArraylist (NamedArraylist class)


This function makes a "deep copy" of the NamedArraylist method object, nal. If nal contains objects, they are copied. If nal is Null, a Null is returned.

Syntax

%outNal = nal:DeepCopy

Syntax terms

%outNal A NamedArraylist to contain the deep copy of nal.
nal A NamedArraylist object, which may be Null.

Usage notes

  • Although NamedArraylist objects in general are deep copyable, a particular NamedArraylist might contain references to non-deep-copyable objects, which disallows deep copy of that specific NamedArraylist.

See also