DeepCopy (Arraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (tags)
Line 1: Line 1:
{{Template:Arraylist:DeepCopy subtitle}}
{{Template:Arraylist:DeepCopy subtitle}}


This function
<var>DeepCopy</var> makes a "deep copy" of the <var>Arraylist</var> method object, <var class="term">al</var>. If <var class="term">al</var> contains objects, they <b><i>are</i></b> copied.  If <var class="term">al</var> is Null, a Null is returned.
makes a "deep copy" of the <var>Arraylist</var> method object, <var class="term">al</var>. If <var class="term">al</var> contains objects, they <b><i>are</i></b> copied.  If <var class="term">al</var> is Null, a Null is returned.


For more information about copyability, see [[Copying objects]].
==Syntax==
==Syntax==
{{Template:Arraylist:DeepCopy syntax}}
{{Template:Arraylist:DeepCopy syntax}}
Line 14: Line 12:
<td>An <var>Arraylist</var> object.</td></tr>
<td>An <var>Arraylist</var> object.</td></tr>
</table>
</table>
==See also==
==See also==
<ul><li>For more information about copyability, see [[Copying objects|"Copying objects"]].</ul>
{{Template:Arraylist:DeepCopy footer}}
{{Template:Arraylist:DeepCopy footer}}

Revision as of 07:39, 2 March 2011

Deep Copy the Arraylist (Arraylist class)


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

Syntax

%copyList = al:DeepCopy

Syntax terms

%copyList An Arraylist to contain the deep copy of al.
al An Arraylist object.

See also