Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.952 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 80 | src/NHibernate.DomainModel/NHSpecific/Node.cs |
2 | 4 | 89 | src/NHibernate.DomainModel/NHSpecific/Node.cs |
| ||||
/// <summary> /// This is the only way to hook nodes together right now. /// </summary> /// <param name="node">A Node this Node can go to.</param> public void AddDestinationNode(Node destinationNode) { DestinationNodes.Add(destinationNode); // let the destinationNode know that it can be one of the // previous Nodes was this Node destinationNode.AddPreviousNode(this ); } |
| ||||
public void RemoveDestinationNode(Node destinationNode) { DestinationNodes.Remove(destinationNode); destinationNode.RemovePreviousNode(this ); } |
| |||
/// <summary> /// This is the only way to hook nodes together right now. /// </summary> /// <param name="node">A Node this Node can go to.</param> public void [[#variable54aad2c0]](Node destinationNode) { DestinationNodes. [[#variable54aad240]](destinationNode); // let the destinationNode know that it can be one of the // previous Nodes was this Node destinationNode. [[#variable54aad1c0]](this ); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54aad2c0]] | AddDestinationNode |
1 | 2 | [[#54aad2c0]] | RemoveDestinationNode |
2 | 1 | [[#54aad240]] | Add |
2 | 2 | [[#54aad240]] | Remove |
3 | 1 | [[#54aad1c0]] | AddPreviousNode |
3 | 2 | [[#54aad1c0]] | RemovePreviousNode |