DeepCopy (Arraylist function): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
Line 1: | Line 1: | ||
{{Template:Arraylist:DeepCopy subtitle}} | |||
[[Category:Arraylist methods|DeepCopy function]] | [[Category:Arraylist methods|DeepCopy function]] | ||
<!--DPL?? Category:Arraylist methods|DeepCopy function: Deep Copy the Arraylist--> | <!--DPL?? Category:Arraylist methods|DeepCopy function: Deep Copy the Arraylist--> | ||
Line 7: | Line 7: | ||
This function | This function | ||
makes a | makes a "deep copy" of the Arraylist method object, ''%arrayl''. | ||
If ''%arrayl'' contains objects, they '''are''' copied. | If ''%arrayl'' contains objects, they '''are''' copied. | ||
If ''%arrayl'' is Null, a Null is returned. | If ''%arrayl'' is Null, a Null is returned. | ||
For more information about copyability, see [[Copying objects]]. | For more information about copyability, see [[Copying objects]]. | ||
==Syntax== | |||
{{Template:Arraylist:DeepCopy syntax}} | |||
===Syntax terms=== | |||
<dl> | <dl> | ||
<dt><i>%dcop</i> | <dt><i>%dcop</i> |
Revision as of 23:27, 19 January 2011
Deep Copy the Arraylist (Arraylist class)
DeepCopy is a member of the Arraylist class.
This function makes a "deep copy" of the Arraylist method object, %arrayl. If %arrayl contains objects, they are copied. If %arrayl is Null, a Null is returned.
For more information about copyability, see Copying objects.
Syntax
%copyList = al:DeepCopy
Syntax terms
- %dcop
- An Arraylist to contain the deep copy of %arrayl.
- %arrayl
- An Arraylist object.