Copy (Arraylist function)

From m204wiki
Revision as of 23:52, 18 March 2011 by Goff (talk | contribs) (AllowNullObject methods)
Jump to navigation Jump to search

Copy the Arraylist (Arraylist class)

Copy makes a "shallow" copy of the Arraylist method object al. If al contains objects, they are not copied. If al is Null, a Null is returned.

Syntax

%copyList = al:Copy

Syntax terms

%copyList An Arraylist to contain the copy of the method Arraylist al.
al An Arraylist object, which may be Null.

See also

  • Contrast with DeepCopy which does copy any nested objects.
  • For more information about copyability, see Copying objects.