DeepCopy (UnicodeNamedArraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (add note re exception to deep copyability)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template:UnicodeNamedArraylist:DeepCopy subtitle}}
{{Template:UnicodeNamedArraylist:DeepCopy subtitle}}


This function
<var>DeepCopy</var> makes a "deep copy" of the <var>UnicodeNamedArraylist</var> method object, <var class="term">uniNal</var>. If <var class="term">uniNal</var> contains objects, they <b><i>are</i></b> copied. If <var class="term">uniNal</var> is <var>Null</var>, a <var>Null</var> is returned.
makes a "deep copy" of the UnicodeNamedArraylist method object, ''%unamrayl''.
If ''%unamrayl'' contains objects, they '''are''' copied.
If ''%unamrayl'' is Null, a Null is returned.


For more information about copyability, see [[Copying objects]].
==Syntax==
==Syntax==
{{Template:UnicodeNamedArraylist:DeepCopy syntax}}
{{Template:UnicodeNamedArraylist:DeepCopy syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th><i>%dcop</i></th>
<tr><th>%outUniNal</th>
<td>A UnicodeNamedArraylist to contain the deep copy of ''%unamrayl''. </td></tr>
<td>A <var>UnicodeNamedArraylist</var> to contain the deep copy of <var class="term">uniNal</var>. </td></tr>
<tr><th><i>%unamrayl</i></th>
 
<td>A UnicodeNamedArraylist object.</td></tr>
<tr><th>uniNal</th>
<td>A <var>UnicodeNamedArraylist</var> object, which may be <var>Null</var>.</td></tr>
</table>
</table>
==Usage notes==
<ul>
<li>Although <var>UnicodeNamedArraylist</var> objects in general are deep copyable, a particular <var>UnicodeNamedArraylist</var> might contain references to non-deep-copyable objects, which disallows deep copy of that specific <var>UnicodeNamedArraylist</var>. </li>
</ul>
==See also==
==See also==
<ul>
<li>For more information about copyability, see [[Copying objects|"Copying objects"]].
</ul>
{{Template:UnicodeNamedArraylist:DeepCopy footer}}
{{Template:UnicodeNamedArraylist:DeepCopy footer}}

Latest revision as of 22:03, 23 January 2017

Deep Copy UnicodeNamedArraylist (UnicodeNamedArraylist class)


DeepCopy makes a "deep copy" of the UnicodeNamedArraylist method object, uniNal. If uniNal contains objects, they are copied. If uniNal is Null, a Null is returned.

Syntax

%outUniNal = uniNal:DeepCopy

Syntax terms

%outUniNal A UnicodeNamedArraylist to contain the deep copy of uniNal.
uniNal A UnicodeNamedArraylist object, which may be Null.

Usage notes

  • Although UnicodeNamedArraylist objects in general are deep copyable, a particular UnicodeNamedArraylist might contain references to non-deep-copyable objects, which disallows deep copy of that specific UnicodeNamedArraylist.

See also