Copy (Arraylist function): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
Line 15: | Line 15: | ||
{{Template:Arraylist:Copy syntax}} | {{Template:Arraylist:Copy syntax}} | ||
===Syntax terms=== | ===Syntax terms=== | ||
< | <table class="syntaxTable"> | ||
< | <tr><th><i>%cop</i></th> | ||
< | <td>An Arraylist to contain the copy of the method Arraylist ''%arrayl''. </td></tr> | ||
< | <tr><th><i>%arrayl</i></th> | ||
< | <td>An Arraylist object.</td></tr> | ||
</table> | |||
</ |
Revision as of 23:26, 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. |