Copy (Arraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 1: Line 1:
{{Template:Arraylist:Copy subtitle}}
{{Template:Arraylist:Copy subtitle}}
<p>
<var>Copy</var> is a member of the [[Arraylist class]].
</p>


This function
This function

Revision as of 12:12, 27 January 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

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

See also