DeepCopy (RandomNumberGenerator function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
 
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 4: Line 4:
of the method object.
of the method object.


For more information about copyability, see [[Copying objects]].
For more information about copyability, see [[Copying objects|"Copying objects"]].
 
==Syntax==
==Syntax==
{{Template:RandomNumberGenerator:DeepCopy syntax}}
{{Template:RandomNumberGenerator:DeepCopy syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%outRandomNumberGenerator</th>
<tr><th>%outRandomNumberGenerator</th>
<td>A <var>RandomNumberGenerator</var> object variable to contain the deep copied object. </td></tr>
<td>A <var>RandomNumberGenerator</var> object variable to contain the deep copied object. </td></tr>
<tr><th>randomNumberGenerator</th>
<tr><th>randomNumberGenerator</th>
<td>A <var>RandomNumberGenerator</var> object variable.</td></tr>
<td>A <var>RandomNumberGenerator</var> object variable, which may be <var>Null</var>.</td></tr>
</table>
</table>


==Usage notes==
==Usage notes==
<ul>
<ul>
<li>The method object (randomNumberGenerator) may be null.
<li>The method object (<var class="term">randomNumberGenerator</var>) may be null.
The output of a copy of a null object is a null object.
The output of a copy of a <var>Null</var> object is a <var>Null</var> object.
</ul>
</ul>


==See also==
==See also==
{{Template:RandomNumberGenerator:DeepCopy footer}}
{{Template:RandomNumberGenerator:DeepCopy footer}}

Latest revision as of 21:19, 6 November 2012

Deep copy this RandomNumberGenerator (RandomNumberGenerator class)


This method returns a RandomNumberGenerator object that is a deep copy of the method object.

For more information about copyability, see "Copying objects".

Syntax

%outRandomNumberGenerator = randomNumberGenerator:DeepCopy

Syntax terms

%outRandomNumberGenerator A RandomNumberGenerator object variable to contain the deep copied object.
randomNumberGenerator A RandomNumberGenerator object variable, which may be Null.

Usage notes

  • The method object (randomNumberGenerator) may be null. The output of a copy of a Null object is a Null object.

See also