DeepCopy (UnicodeNamedArraylist function): Difference between revisions
Jump to navigation
Jump to search
m (AllowNullObject methods) |
m (add note re exception to deep copyability) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Template:UnicodeNamedArraylist:DeepCopy subtitle}} | {{Template:UnicodeNamedArraylist:DeepCopy subtitle}} | ||
<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 Null, a Null is returned. | <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. | ||
==Syntax== | ==Syntax== | ||
{{Template:UnicodeNamedArraylist:DeepCopy syntax}} | {{Template:UnicodeNamedArraylist:DeepCopy syntax}} | ||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>%outUniNal</th> | <tr><th>%outUniNal</th> | ||
<td>A <var>UnicodeNamedArraylist</var> to contain the deep copy of <var class="term">uniNal</var>. </td></tr> | <td>A <var>UnicodeNamedArraylist</var> to contain the deep copy of <var class="term">uniNal</var>. </td></tr> | ||
<tr><th>uniNal</th> | <tr><th>uniNal</th> | ||
<td>A <var>UnicodeNamedArraylist</var> object, which may be <var>Null</var> | <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> | <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
- For more information about copyability, see "Copying objects".