DeepCopy (Arraylist function): Difference between revisions
Jump to navigation
Jump to search
m (match syntax diagram to template) |
m (match syntax diagram to template) |
||
Line 9: | Line 9: | ||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th | <tr><th>%copyList</th> | ||
<td>An <var>Arraylist</var> to contain the deep copy of <var class="term">al</var>. </td></tr> | <td>An <var>Arraylist</var> to contain the deep copy of <var class="term">al</var>. </td></tr> | ||
<tr><th | <tr><th><var class="term">al</var></th> | ||
<td>An <var>Arraylist</var> object.</td></tr> | <td>An <var>Arraylist</var> object.</td></tr> | ||
</table> | </table> | ||
==See also== | ==See also== | ||
{{Template:Arraylist:DeepCopy footer}} | {{Template:Arraylist:DeepCopy footer}} |
Revision as of 01:47, 2 February 2011
Deep Copy the Arraylist (Arraylist class)
This function
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.
For more information about copyability, see Copying objects.
Syntax
%copyList = al:DeepCopy
Syntax terms
%copyList | An Arraylist to contain the deep copy of al. |
---|---|
al | An Arraylist object. |