Copy (Arraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 1: Line 1:
<span style="font-size:120%; color:black"><b><section begin=dpl_desc/>Copy the Arraylist<section end=dpl_desc/></b></span>
{{Template:Arraylist:Copy subtitle}}
[[Category:Arraylist methods|Copy function]]
[[Category:Arraylist methods|Copy function]]
<!--DPL?? Category:Arraylist methods|Copy function: Copy the Arraylist-->
<!--DPL?? Category:Arraylist methods|Copy function: Copy the Arraylist-->
Line 12: Line 12:


For more information about copyability, see [[Copying objects]].
For more information about copyability, see [[Copying objects]].
===Syntax===
==Syntax==
  %cop = %arrayl:Copy
{{Template:Arraylist:Copy syntax}}
====Syntax Terms====
===Syntax terms===
<dl>
<dl>
<dt><i>%cop</i>
<dt><i>%cop</i>

Revision as of 23:25, 19 January 2011

Copy the Arraylist (Arraylist class)

Copy is a member of the Arraylist class.

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

For more information about copyability, see Copying objects.

Syntax

%copyList = al:Copy

Syntax terms

%cop
An Arraylist to contain the copy of the method Arraylist %arrayl.
%arrayl
An Arraylist object.