Copy (Arraylist function)

From m204wiki
Revision as of 21:07, 4 January 2011 by 198.242.244.47 (talk) (Created page with "<span style="font-size:120%; color:black"><b><section begin=dpl_desc/>Copy the Arraylist<section end=dpl_desc/></b></span> Copy function <!--DPL?? ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<section begin=dpl_desc/>Copy the Arraylist<section end=dpl_desc/>

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

  %cop = %arrayl:Copy

Syntax Terms

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