Copy (Arraylist function): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (→See also) |
||
Line 16: | Line 16: | ||
==See also== | ==See also== | ||
<ul><li>Contrast with <var>[[DeepCopy_(Arraylist_function)|DeepCopy]]</var> which <b><i>does</i></b> copy any nested objects. | <ul><li>Contrast with <var>[[DeepCopy_(Arraylist_function)|DeepCopy]]</var> which <b><i>does</i></b> copy any nested objects. | ||
<li>For more information about copyability, see [[Copying objects]]. | <li>For more information about copyability, see [[Copying objects|"Copying objects"]]. | ||
</ul> | </ul> | ||
{{Template:Arraylist:Copy footer}} | {{Template:Arraylist:Copy footer}} |
Latest revision as of 15:30, 1 November 2012
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 object 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".