DeepCopy (Arraylist function): Difference between revisions
Jump to navigation
Jump to search
m (and the converse it) |
m (AllowNullObject methods) |
||
Line 9: | Line 9: | ||
<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>al</th> | <tr><th>al</th> | ||
<td>An <var>Arraylist</var> object.</td></tr> | <td>An <var>Arraylist</var> object, which may be <var>Null</var>.</td></tr> | ||
</table> | </table> | ||
Revision as of 23:53, 18 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, which may be Null. |
See also
- Contrast with Copy which does not copy any nested objects.
- For more information about copyability, see "Copying objects".