DeepCopy (FloatNamedArraylist 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:
<span style="font-size:120%; color:black"><b><section begin=dpl_desc/>Deep Copy FloatNamedArraylist<section end=dpl_desc/></b></span>
{{Template:FloatNamedArraylist:DeepCopy subtitle}}
[[Category:FloatNamedArraylist methods|DeepCopy function]]
<!--DPL?? Category:FloatNamedArraylist methods|DeepCopy function: Deep Copy FloatNamedArraylist-->
<p>
DeepCopy is a member of the [[FloatNamedArraylist class]].
</p>


This function
<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.
makes a &ldquo;deep copy&rdquo; of the FloatNamedArraylist method object, ''%fnamrayl''.
If ''%fnamrayl'' contains objects, they '''are''' copied.
If ''%fnamrayl'' is Null, a Null is returned.


For more information about copyability, see [[Copying objects]].
==Syntax==
==Syntax==
<p class="code">%dcop = %fnamrayl:DeepCopy
{{Template:FloatNamedArraylist:DeepCopy syntax}}
</p>
 
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%dcop</th>
<tr><th>%outFltNal</th>
<td>A FloatNamedArraylist to contain the deep copy of ''%fnamrayl''. </td></tr>
<td>A <var>FloatNamedArraylist</var> to contain the deep copy of <var class="term">fltNal</var>. </td></tr>
<tr><th>%fnamrayl</th>
 
<td>A FloatNamedArraylist object.</td></tr>
<tr><th>fltNal</th>
<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==
<ul>
<li>For more information about copyability, see [[Copying objects|"Copying objects"]].
</ul>
{{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