DeepCopy (NamedArraylist function)

From m204wiki
Revision as of 21:55, 23 January 2017 by JAL (talk | contribs) (add note re exception to deep copyability)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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