<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head><title>class SpringJoint in sims.dynamics.joints</title>
<meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.5.final)" name="generator"></meta><link href="../../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../../script.js"></script>
</head>
<body onload="init()">
<table summary="" class="navigation">
<tr>
<td class="navigation-links" valign="top">
<!-- <table><tr></tr></table> -->
</td>
<td align="right" valign="top" style="white-space:nowrap;" rowspan="2">
<div class="doctitle-larger">SiMS</div>
</td>
</tr>
<tr><td></td></tr>
</table>
<div class="entity">
<a href="../../../sims/dynamics/joints$package.html" target="_self">sims.dynamics.joints</a>
<br></br>
<span class="entity">class SpringJoint</span>
</div><hr></hr>
<div class="source">
[source: <a href="" class="sims/dynamics/joints/SpringJoint"><code>sims/dynamics/joints/SpringJoint.scala</code></a>]
</div><hr></hr>
<a name="SpringJoint"></a><dl>
<dt>
<code>case</code>
<code>class</code>
<em>SpringJoint</em>(<code>val </code><em>node1</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <code>val </code><em>anchor1</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <code>val </code><em>node2</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <code>val </code><em>anchor2</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <code>val </code><em>springConstant</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <code>val </code><em>initialLength</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>)
</dt>
<dd><code> extends </code><a href="../../../sims/dynamics/joints/Joint.html" target="_self">Joint</a><code> with </code><a href="../../../sims/dynamics/joints/ForceJoint.html" target="_self">ForceJoint</a><code> with </code><a href="" target="contentFrame" class="scala/Product">scala.Product</a></dd>
</dl>
<dl><dd>Eine Hooksche Feder.</dd></dl>
<dl><dt style="margin:10px 0 0 20px;">
<b>Parameters</b></dt><dd><code>node1 - </code>erster Koerper der Verbindung</dd><dd><code>anchor1 - </code>Bindungspunkt auf Koerper eins</dd><dd><code>node2 - </code>zweiter Koerper der Verbindung</dd><dd><code>anchor2 - </code>Bindungspunkt auf Koerper zwei</dd><dd><code>springConstant - </code>Federkonstante</dd><dd><code>initialLength - </code>Initiallaenge</dd></dl>
<table summary="" cellpadding="3" class="member">
<tr><td class="title" colspan="2">Additional Constructor Summary</td></tr>
<tr>
<td class="modifiers" valign="top">
<code> def</code>
</td>
<td class="signature">
<em><a href="../../../sims/dynamics/joints/SpringJoint.html#this%28sims.dynamics.Body%2Csims.dynamics.Body%2CDouble%29" target="_self">this</a></em>
(<em>node1</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>node2</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>springConstant</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../../sims/dynamics/joints/SpringJoint.html" target="_self">SpringJoint</a>
</td>
</tr>
<tr>
<td class="modifiers" valign="top">
<code> def</code>
</td>
<td class="signature">
<em><a href="../../../sims/dynamics/joints/SpringJoint.html#this%28sims.dynamics.Body%2Csims.dynamics.Body%2CDouble%2CDouble%29" target="_self">this</a></em>
(<em>node1</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>node2</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>springConstant</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <em>initialLength</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../../sims/dynamics/joints/SpringJoint.html" target="_self">SpringJoint</a>
</td>
</tr>
<tr>
<td class="modifiers" valign="top">
<code> def</code>
</td>
<td class="signature">
<em><a href="../../../sims/dynamics/joints/SpringJoint.html#this%28sims.dynamics.Body%2Csims.geometry.Vector2D%2Csims.dynamics.Body%2Csims.geometry.Vector2D%2CDouble%29" target="_self">this</a></em>
(<em>node1</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>anchor1</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <em>node2</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>anchor2</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <em>springConstant</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../../sims/dynamics/joints/SpringJoint.html" target="_self">SpringJoint</a>
</td>
</tr>
</table>
<table summary="" cellpadding="3" class="member">
<tr><td class="title" colspan="2">Value Summary</td></tr>
<tr>
<td class="modifiers" valign="top">
<code> var</code>
</td>
<td class="signature">
<em><a href="../../../sims/dynamics/joints/SpringJoint.html#damping" target="_self">damping</a></em>
: <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>
<div>Daempfung.</div>
</td>
</tr>
</table>
<table summary="" cellpadding="3" class="member">
<tr><td class="title" colspan="2">Method Summary</td></tr>
<tr>
<td class="modifiers" valign="top">
<code> def</code>
</td>
<td class="signature">
<em><a href="../../../sims/dynamics/joints/SpringJoint.html#applyForce%28%29" target="_self">applyForce</a></em>
: <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
<div>Uebt die Federkraft auf die Bindungspunkte aus.</div>
</td>
</tr>
<tr>
<td class="modifiers" valign="top">
<code> def</code>
</td>
<td class="signature">
<em><a href="../../../sims/dynamics/joints/SpringJoint.html#connection1" target="_self">connection1</a></em>
: <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>
<div>Ergibt den Bindungspunkt auf Koerper eins.</div>
</td>
</tr>
<tr>
<td class="modifiers" valign="top">
<code> def</code>
</td>
<td class="signature">
<em><a href="../../../sims/dynamics/joints/SpringJoint.html#connection2" target="_self">connection2</a></em>
: <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>
<div>Ergibt den Bindungspunkt auf Koerper zwei.</div>
</td>
</tr>
<tr>
<td class="modifiers" valign="top">
<code> def</code>
</td>
<td class="signature">
<em><a href="../../../sims/dynamics/joints/SpringJoint.html#correctPosition%28Double%29" target="_self">correctPosition</a></em>
(<em>h</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
<div>Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</div>
</td>
</tr>
<tr>
<td class="modifiers" valign="top">
<code> def</code>
</td>
<td class="signature">
<em><a href="../../../sims/dynamics/joints/SpringJoint.html#correctVelocity%28Double%29" target="_self">correctVelocity</a></em>
(<em>h</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
<div>Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</div>
</td>
</tr>
<tr>
<td class="modifiers" valign="top">
<code>override def</code>
</td>
<td class="signature">
<em><a href="../../../sims/dynamics/joints/SpringJoint.html#equals%28Any%29" target="_self">equals</a></em>
(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>
<div>This method is used to compare the receiver object (<code>this</code>)
with the argument object (<code>arg0</code>) for equivalence.</div>
</td>
</tr>
<tr>
<td class="modifiers" valign="top">
<code> def</code>
</td>
<td class="signature">
<em><a href="../../../sims/dynamics/joints/SpringJoint.html#force" target="_self">force</a></em>
: <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>
<div>Ergibt die Federkraft nach dem Hookschen Gesetz.</div>
</td>
</tr>
<tr>
<td class="modifiers" valign="top">
<code>override def</code>
</td>
<td class="signature">
<em><a href="../../../sims/dynamics/joints/SpringJoint.html#hashCode%28%29" target="_self">hashCode</a></em>
: <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>
<div>Returns a hash code value for the object.</div>
</td>
</tr>
<tr>
<td class="modifiers" valign="top">
<code>override def</code>
</td>
<td class="signature">
<em><a href="../../../sims/dynamics/joints/SpringJoint.html#productArity" target="_self">productArity</a></em>
: <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>
</td>
</tr>
<tr>
<td class="modifiers" valign="top">
<code>override def</code>
</td>
<td class="signature">
<em><a href="../../../sims/dynamics/joints/SpringJoint.html#productElement%28Int%29" target="_self">productElement</a></em>
(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>
</td>
</tr>
<tr>
<td class="modifiers" valign="top">
<code>override def</code>
</td>
<td class="signature">
<em><a href="../../../sims/dynamics/joints/SpringJoint.html#productPrefix" target="_self">productPrefix</a></em>
: <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>
</td>
</tr>
<tr>
<td class="modifiers" valign="top">
<code>override def</code>
</td>
<td class="signature">
<em><a href="../../../sims/dynamics/joints/SpringJoint.html#toString%28%29" target="_self">toString</a></em>
: <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>
<div>Returns a string representation of the object.</div>
</td>
</tr>
<tr>
<td class="modifiers" valign="top">
<code> def</code>
</td>
<td class="signature">
<em><a href="../../../sims/dynamics/joints/SpringJoint.html#x" target="_self">x</a></em>
: <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>
<div>Relative Position der Bindungspunkte.</div>
</td>
</tr>
</table><table summary="" cellpadding="3" class="inherited">
<tr><td class="title" colspan="2">
Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a>
</td></tr>
<tr><td class="signature" colspan="2">
<a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a>
</td></tr>
</table><table summary="" cellpadding="3" class="inherited">
<tr><td class="title" colspan="2">
Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>
</td></tr>
<tr><td class="signature" colspan="2">
<a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a>
</td></tr>
</table>
<table summary="" cellpadding="3" class="member-detail">
<tr><td class="title">Additional Constructor Details</td></tr>
</table><div><a name="this%28sims.dynamics.Body%2Csims.geometry.Vector2D%2Csims.dynamics.Body%2Csims.geometry.Vector2D%2CDouble%29"></a><dl>
<dt>
<code></code>
<code>def</code>
<em>this</em>(<em>node1</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>anchor1</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <em>node2</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>anchor2</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>, <em>springConstant</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../../sims/dynamics/joints/SpringJoint.html" target="_self">SpringJoint</a>
</dt>
<dd></dd>
</dl><hr></hr>
<a name="this%28sims.dynamics.Body%2Csims.dynamics.Body%2CDouble%2CDouble%29"></a><dl>
<dt>
<code></code>
<code>def</code>
<em>this</em>(<em>node1</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>node2</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>springConstant</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>, <em>initialLength</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../../sims/dynamics/joints/SpringJoint.html" target="_self">SpringJoint</a>
</dt>
<dd></dd>
</dl><hr></hr>
<a name="this%28sims.dynamics.Body%2Csims.dynamics.Body%2CDouble%29"></a><dl>
<dt>
<code></code>
<code>def</code>
<em>this</em>(<em>node1</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>node2</em> : <a href="../../../sims/dynamics/Body.html" target="_self">Body</a>, <em>springConstant</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="../../../sims/dynamics/joints/SpringJoint.html" target="_self">SpringJoint</a>
</dt>
<dd></dd>
</dl><hr></hr></div>
<table summary="" cellpadding="3" class="member-detail">
<tr><td class="title">Value Details</td></tr>
</table><div><a name="damping"></a><dl>
<dt>
<code></code>
<code>var</code>
<em>damping</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>
</dt>
<dd></dd>
</dl>
<dl><dd>Daempfung.</dd></dl>
<dl></dl>
<hr></hr></div>
<table summary="" cellpadding="3" class="member-detail">
<tr><td class="title">Method Details</td></tr>
</table><div><a name="connection1"></a><dl>
<dt>
<code></code>
<code>def</code>
<em>connection1</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>
</dt>
<dd></dd>
</dl>
<dl><dd>Ergibt den Bindungspunkt auf Koerper eins.</dd></dl>
<dl></dl>
<hr></hr>
<a name="connection2"></a><dl>
<dt>
<code></code>
<code>def</code>
<em>connection2</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>
</dt>
<dd></dd>
</dl>
<dl><dd>Ergibt den Bindungspunkt auf Koerper zwei.</dd></dl>
<dl></dl>
<hr></hr>
<a name="x"></a><dl>
<dt>
<code></code>
<code>def</code>
<em>x</em> : <a href="../../../sims/geometry/Vector2D.html" target="_self">Vector2D</a>
</dt>
<dd></dd>
</dl>
<dl><dd>Relative Position der Bindungspunkte.</dd></dl>
<dl></dl>
<hr></hr>
<a name="force"></a><dl>
<dt>
<code></code>
<code>def</code>
<em>force</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>
</dt>
<dd></dd>
</dl>
<dl><dd>Ergibt die Federkraft nach dem Hookschen Gesetz.</dd></dl>
<dl></dl>
<hr></hr>
<a name="applyForce%28%29"></a><dl>
<dt>
<code></code>
<code>def</code>
<em>applyForce</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
</dt>
<dd></dd>
</dl>
<dl><dd>Uebt die Federkraft auf die Bindungspunkte aus.</dd></dl>
<dl></dl>
<dl>
<dt style="margin:10px 0 0 20px;">
<b>Overrides</b>
</dt>
<dd>
<a href="../../../sims/dynamics/joints/ForceJoint.html" target="_self">ForceJoint</a>.<a href="../../../sims/dynamics/joints/ForceJoint.html#applyForce%28%29" target="_self">applyForce</a>
</dd>
</dl><hr></hr>
<a name="correctPosition%28Double%29"></a><dl>
<dt>
<code></code>
<code>def</code>
<em>correctPosition</em>(<em>h</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
</dt>
<dd></dd>
</dl>
<dl><dd>Korrigiert die Position der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</dd></dl>
<dl></dl>
<dl>
<dt style="margin:10px 0 0 20px;">
<b>Overrides</b>
</dt>
<dd>
<a href="../../../sims/dynamics/joints/Joint.html" target="_self">Joint</a>.<a href="../../../sims/dynamics/joints/Joint.html#correctPosition%28Double%29" target="_self">correctPosition</a>
</dd>
</dl><hr></hr>
<a name="correctVelocity%28Double%29"></a><dl>
<dt>
<code></code>
<code>def</code>
<em>correctVelocity</em>(<em>h</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Double.html" target="_self">Double</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
</dt>
<dd></dd>
</dl>
<dl><dd>Korrigiert die Geschwindigkeit der Koerper damit diese den Randbedingungen der Verbindung entsprechen.</dd></dl>
<dl></dl>
<dl>
<dt style="margin:10px 0 0 20px;">
<b>Overrides</b>
</dt>
<dd>
<a href="../../../sims/dynamics/joints/Joint.html" target="_self">Joint</a>.<a href="../../../sims/dynamics/joints/Joint.html#correctVelocity%28Double%29" target="_self">correctVelocity</a>
</dd>
</dl><hr></hr>
<a name="hashCode%28%29"></a><dl>
<dt>
<code>override</code>
<code>def</code>
<em>hashCode</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>
</dt>
<dd></dd>
</dl>
<dl><dd>Returns a hash code value for the object.
<p>
The default hashing algorithm is platform dependent.
Note that it is allowed for two objects to have identical hash
codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be
equal (<code>o1.equals(o2)</code> returns <code>false</code>). A
degenerate implementation could always return <code>0</code>.
However, it is required that if two objects are equal
(<code>o1.equals(o2)</code> returns <code>true</code>) that they
have identical hash codes
(<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when
overriding this method, be sure to verify that the behavior is
consistent with the <code>equals</code> method.
</p>
<p></dd></dl>
<dl><dt style="margin:10px 0 0 20px;">
<b>Returns</b></dt><dd>the hash code value for the object. </p></dd></dl>
<hr></hr>
<a name="toString%28%29"></a><dl>
<dt>
<code>override</code>
<code>def</code>
<em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>
</dt>
<dd></dd>
</dl>
<dl><dd>Returns a string representation of the object.
<p>
The default representation is platform dependent.</dd></dl>
<dl><dt style="margin:10px 0 0 20px;">
<b>Returns</b></dt><dd>a string representation of the object. </p></dd></dl>
<hr></hr>
<a name="equals%28Any%29"></a><dl>
<dt>
<code>override</code>
<code>def</code>
<em>equals</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>
</dt>
<dd></dd>
</dl>
<dl><dd>This method is used to compare the receiver object (<code>this</code>)
with the argument object (<code>arg0</code>) for equivalence.
<p>
The default implementations of this method is an <a
href="http://en.wikipedia.org/wiki/Equivalence_relation">equivalence
relation</a>:
<ul>
<li>It is reflexive: for any instance <code>x</code> of type <code>Any</code>,
<code>x.equals(x)</code> should return <code>true</code>.</li>
<li>It is symmetric: for any instances <code>x</code> and <code>y</code> of type
<code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only
if <code>y.equals(x)</code> returns <code>true</code>.</li>
<li>It is transitive: for any instances
<code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code>
if <code>x.equals(y)</code> returns <code>true</code> and
<code>y.equals(z)</code> returns
<code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</li>
</ul>
</p>
<p>
If you override this method, you should verify that
your implementation remains an equivalence relation.
Additionally, when overriding this method it is often necessary to
override <code>hashCode</code> to ensure that objects that are
"equal" (<code>o1.equals(o2)</code> returns <code>true</code>)
hash to the same <a href="Int.html"><code>Int</code></a>
(<code>o1.hashCode.equals(o2.hashCode)</code>).</dd></dl>
<dl><dt style="margin:10px 0 0 20px;">
<b>Parameters</b></dt><dd><code>arg0 - </code>the object to compare against this object for equality.</dd><dt style="margin:10px 0 0 20px;">
<b>Returns</b></dt><dd><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise. </p></dd></dl>
<hr></hr>
<a name="productPrefix"></a><dl>
<dt>
<code>override</code>
<code>def</code>
<em>productPrefix</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>
</dt>
<dd></dd>
</dl><dl>
<dt style="margin:10px 0 0 20px;">
<b>Overrides</b>
</dt>
<dd>
<a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productPrefix" target="contentFrame" class="scala/Product">scala.Product.productPrefix</a>
</dd>
</dl><hr></hr>
<a name="productArity"></a><dl>
<dt>
<code>override</code>
<code>def</code>
<em>productArity</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>
</dt>
<dd></dd>
</dl><dl>
<dt style="margin:10px 0 0 20px;">
<b>Overrides</b>
</dt>
<dd>
<a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productArity" target="contentFrame" class="scala/Product">scala.Product.productArity</a>
</dd>
</dl><hr></hr>
<a name="productElement%28Int%29"></a><dl>
<dt>
<code>override</code>
<code>def</code>
<em>productElement</em>(<em>arg0</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>
</dt>
<dd></dd>
</dl><dl>
<dt style="margin:10px 0 0 20px;">
<b>Overrides</b>
</dt>
<dd>
<a href="" target="contentFrame" class="scala/Product">scala.Product</a>.<a href="#productElement" target="contentFrame" class="scala/Product">scala.Product.productElement</a>
</dd>
</dl><hr></hr></div>
<hr></hr>
<table summary="" class="navigation">
<tr>
<td class="navigation-links" valign="top">
<!-- <table><tr></tr></table> -->
</td>
<td align="right" valign="top" style="white-space:nowrap;" rowspan="2">
<div class="doctitle-larger">SiMS</div>
</td>
</tr>
<tr><td></td></tr>
</table>
</body>
</html>