DeepCopy (Arraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 15: Line 15:
{{Template:Arraylist:DeepCopy syntax}}
{{Template:Arraylist:DeepCopy syntax}}
===Syntax terms===
===Syntax terms===
<dl>
<table class="syntaxTable">
<dt><i>%dcop</i>
<tr><th><i>%dcop</i></th>
<dd>An Arraylist to contain the deep copy of ''%arrayl''.
<td>An Arraylist to contain the deep copy of ''%arrayl''. </td></tr>
<dt><i>%arrayl</i>
<tr><th><i>%arrayl</i></th>
<dd>An Arraylist object.
<td>An Arraylist object.</td></tr>
 
</table>
</dl>

Revision as of 23:28, 19 January 2011

Deep Copy the Arraylist (Arraylist class)

DeepCopy is a member of the Arraylist class.

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

For more information about copyability, see Copying objects.

Syntax

%copyList = al:DeepCopy

Syntax terms

%dcop An Arraylist to contain the deep copy of %arrayl.
%arrayl An Arraylist object.