Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.965 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 119 | src/NHibernate.Test/NHSpecificTest/NH1810/Children.cs |
2 | 3 | 23 | src/NHibernate/Type/GenericIdentifierBagType.cs |
| ||||
public virtual IPersistentCollection Wrap(ISessionImplementor session, object collection) { return new PersistentGenericSet<T> (session, (ISet<T> )collection); } |
| ||||
public override IPersistentCollection Wrap(ISessionImplementor session, object collection) { return new PersistentIdentifierBag<T> (session, (ICollection<T> )collection); } |
| |||
public [[#variable6fda4900]]IPersistentCollection Wrap(ISessionImplementor session, object collection) { return new [[#variable6fda48a0]]<T> (session, ( [[#variable6fda4840]]<T> )collection); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6fda4900]] | virtual |
1 | 2 | [[#6fda4900]] | override |
2 | 1 | [[#6fda48a0]] | PersistentGenericSet |
2 | 2 | [[#6fda48a0]] | PersistentIdentifierBag |
3 | 1 | [[#6fda4840]] | ISet |
3 | 2 | [[#6fda4840]] | ICollection |