DeepCopy (RandomNumberGenerator function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 1: Line 1:
<span style="font-size:120%; color:black"><b>"Deep copy" specified RandomNumberGenerator object</b></span>
{{Template:RandomNumberGenerator:DeepCopy subtitle}}
[[Category:RandomNumberGenerator methods|DeepCopy function]]
<!--DPL?? Category:RandomNumberGenerator methods|DeepCopy function: "Deep copy" specified RandomNumberGenerator object-->
<!--DPL?? Category:System methods|DeepCopy (RandomNumberGenerator function): "Deep copy" specified RandomNumberGenerator object-->
<p>
DeepCopy is a member of the [[RandomNumberGenerator class]].
</p>


This method returns a RandomNumberGenerator object that is a deep copy
This method returns a RandomNumberGenerator object that is a deep copy
Line 11: Line 5:


For more information about copyability, see [[Copying objects]].
For more information about copyability, see [[Copying objects]].
===Syntax===
==Syntax==
  %newrand = %rand:DeepCopy
{{Template:RandomNumberGenerator:DeepCopy syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
Line 20: Line 14:
<td>A RandomNumberGenerator object variable.</td></tr>
<td>A RandomNumberGenerator object variable.</td></tr>
</table>
</table>
===Usage Notes===
==Usage notes==
<ul>
<ul>
<li>The method object (''%rand'') may be null.
<li>The method object (''%rand'') may be null.
The output of a copy of a null object is a null object.
The output of a copy of a null object is a null object.
</ul>
</ul>
==See also==
{{Template:RandomNumberGenerator:DeepCopy footer}}

Revision as of 19:49, 6 February 2011

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

%newrand A RandomNumberGenerator object variable to contain the deep copied object.
%rand A RandomNumberGenerator object variable.

Usage notes

  • The method object (%rand) may be null. The output of a copy of a null object is a null object.

See also