Copy (Arraylist function)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Copy the Arraylist (Arraylist class)
Copy 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.
%copyList = al:Copy
|%copyList||An Arraylist to contain the copy of the method object Arraylist, al.|
|al||An Arraylist object, which may be Null.|
- Contrast with DeepCopy which does copy any nested objects.
- For more information about copyability, see "Copying objects".