Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 2 | 0.981 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 62 | src/NHibernate/Collection/Generic/PersistentGenericList.cs |
2 | 13 | 292 | src/NHibernate/Collection/PersistentList.cs |
| ||||
{ if (index < 0) { throw new IndexOutOfRangeException("negative index"); } if ( !IsOperationQueueEnabled) { Write(); glist.Insert(index, item); } else { QueueOperation(new AddDelayedOperation(this, index, item)); } } |
| ||||
{ if (index < 0) { throw new IndexOutOfRangeException("negative index"); } if ( !IsOperationQueueEnabled) { Write(); list.Insert(index, value); } else { QueueOperation(new AddDelayedOperation(this, index, value)); } } |
| |||
{ if (index < 0) { throw new IndexOutOfRangeException("negative index"); } if ( !IsOperationQueueEnabled) { Write(); [[#variable652c8220]].Insert(index, [[#variable652c8180]]); } else { QueueOperation(new AddDelayedOperation(this, index, [[#variable652c8180]])); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#652c8220]] | list |
1 | 2 | [[#652c8220]] | glist |
2 | 1 | [[#652c8180]] | value |
2 | 2 | [[#652c8180]] | item |