Copy (Arraylist function): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (I don't recall putting all those rabiit ears in there) |
||
Line 1: | Line 1: | ||
{{Template:Arraylist:Copy subtitle}} | {{Template:Arraylist:Copy subtitle}} | ||
<var>Copy</var> makes a "shallow" copy of the <var>Arraylist</var> method object <var class="term">al</var>. If <var class="term">al</var> contains objects, they are <b><i>not</i></b> copied. If <var class="term">al</var> is Null, a Null is returned. | |||
==Syntax== | ==Syntax== | ||
{{Template:Arraylist:Copy syntax}} | {{Template:Arraylist:Copy syntax}} | ||
Line 12: | Line 7: | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>%copyList</th> | <tr><th>%copyList</th> | ||
<td>An <var>Arraylist</var> to contain the copy of the method <var>Arraylist</var> | <td>An <var>Arraylist</var> to contain the copy of the method <var>Arraylist</var> <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.</td></tr> | ||
</table> | </table> | ||
==See also== | ==See also== | ||
<ul><li>For more information about copyability, see [[Copying objects]]. | |||
</ul> | |||
{{Template:Arraylist:Copy footer}} | {{Template:Arraylist:Copy footer}} |
Revision as of 06:40, 11 March 2011
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 Arraylist al. |
---|---|
al | An Arraylist object. |
See also
- For more information about copyability, see Copying objects.