Copy (Arraylist function)
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.