Copy (Arraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 13: Line 13:
<tr><th>%copyList</th>
<tr><th>%copyList</th>
<td>An <var>Arraylist</var> to contain the copy of the method <var>Arraylist</var> ''<var class="term">al</var>''. </td></tr>
<td>An <var>Arraylist</var> to contain the copy of the method <var>Arraylist</var> ''<var class="term">al</var>''. </td></tr>
<tr><th><var class="term">al</var></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==
{{Template:Arraylist:Copy footer}}
{{Template:Arraylist:Copy footer}}

Revision as of 18:55, 5 February 2011

Copy the Arraylist (Arraylist class)


This function 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.

For more information about copyability, see Copying objects.

Syntax

%copyList = al:Copy

Syntax terms

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

See also