DeepCopy (FloatNamedArraylist function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (AllowNullObject methods)
m (add note re exception to deep copyability)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Template:FloatNamedArraylist:DeepCopy subtitle}}
{{Template:FloatNamedArraylist:DeepCopy subtitle}}


<Var>DeepCopy</var> makes a "deep copy" of the <var>FloatNamedArraylist</var> method object, <var class="term">fltNal</var>.  If <var class="term">fltNal</var> contains objects, they <b><i>are</i></b> copied.  If <var class="term">fltNal</var> is Null, a Null is returned.
<Var>DeepCopy</var> makes a "deep copy" of the <var>FloatNamedArraylist</var> method object, <var class="term">fltNal</var>.  If <var class="term">fltNal</var> contains objects, they <b><i>are</i></b> copied.  If <var class="term">fltNal</var> is <var>Null</var>, a <var>Null</var> is returned.


==Syntax==
==Syntax==
{{Template:FloatNamedArraylist:DeepCopy syntax}}
{{Template:FloatNamedArraylist:DeepCopy syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%outFltNal</th>
<tr><th>%outFltNal</th>
<td>A <var>FloatNamedArraylist</var> to contain the deep copy of <var class="term">fltNal</var>. </td></tr>
<td>A <var>FloatNamedArraylist</var> to contain the deep copy of <var class="term">fltNal</var>. </td></tr>
<tr><th>fltNal</th>
<tr><th>fltNal</th>
<td>A <var>FloatNamedArraylist</var> object, which may be <var>Null</var>.</td></tr>
<td>A <var>FloatNamedArraylist</var> object, which may be <var>Null</var>.</td></tr>
</table>
</table>
==Usage notes==
<ul>
<li>Although <var>FloatNamedArraylist</var> objects in general are deep copyable, a particular <var>FloatNamedArraylist</var> might contain references to non-deep-copyable objects, which disallows deep copy of that specific <var>FloatNamedArraylist</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:FloatNamedArraylist:DeepCopy footer}}
{{Template:FloatNamedArraylist:DeepCopy footer}}

Latest revision as of 22:02, 23 January 2017

Deep Copy FloatNamedArraylist (FloatNamedArraylist class)


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

Syntax

%outFltNal = fltNal:DeepCopy

Syntax terms

%outFltNal A FloatNamedArraylist to contain the deep copy of fltNal.
fltNal A FloatNamedArraylist object, which may be Null.

Usage notes

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

See also