Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
44 | 2 | 4 | 0.970 | interface_member_declarations[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 31 | 116 | src/NHibernate/Bytecode/ICollectionTypeFactory.cs |
2 | 44 | 184 | src/NHibernate/Bytecode/ICollectionTypeFactory.cs |
| ||||
/// <summary> /// Creates a new <see cref="CollectionType"/> for an /// <see cref="System.Collections.Generic.IList{T}"/> with identifier /// bag semantics. /// </summary> /// <typeparam name="T">The type of elements in the list.</typeparam> /// <param name="role">The role the collection is in.</param> /// <param name="propertyRef">The name of the property in the /// owner object containing the collection ID, or <see langword="null" /> if it is /// the primary key. /// </param> /// <param name="embedded">Is embedded in XML (not supported yet)</param> /// <returns> /// A <see cref="GenericIdentifierBagType{T}"/> for the specified role. /// </returns> CollectionType IdBag<T>(string role, string propertyRef, bool embedded); /// <summary> /// Creates a new <see cref="CollectionType"/> for an <see cref="Iesi.Collections.ISet"/>. /// </summary> /// <param name="role">The role the collection is in.</param> /// <param name="propertyRef">The name of the property in the /// owner object containing the collection ID, or <see langword="null" /> if it is /// the primary key.</param> /// <param name="embedded">Is embedded in XML (not supported yet)</param> /// <returns> /// A <see cref="SetType"/> for the specified role. /// </returns> CollectionType Set(string role, string propertyRef, bool embedded); CollectionType OrderedSet(string role, string propertyRef, bool embedded); /// <summary> /// Creates a new <see cref="CollectionType"/> for an <see cref="Iesi.Collections.ISet"/> /// that is sorted by an <see cref="IComparer"/>. /// </summary> /// <param name="role">The role the collection is in.</param> /// <param name="propertyRef">The name of the property in the /// owner object containing the collection ID, or <see langword="null" /> if it is /// the primary key.</param> /// <param name="comparer">The <see cref="IComparer"/> that does the sorting.</param> /// <param name="embedded">Is embedded in XML (not supported yet)</param> /// <returns> /// A <see cref="SortedSetType"/> for the specified role. /// </returns> CollectionType SortedSet(string role, string propertyRef, bool embedded, IComparer comparer); |
| ||||
/// <summary> /// Creates a new <see cref="CollectionType"/> for an ordered <see cref="Iesi.Collections.Generic.ISet{T}" />. /// </summary> /// <typeparam name="T">The type of elements in the collection.</typeparam> /// <param name="role">The role the collection is in.</param> /// <param name="propertyRef"> /// The name of the property in the owner object containing the collection ID, /// or <see langword="null" /> if it is the primary key. /// </param> /// <param name="embedded">Is embedded in XML (not supported yet)</param> /// <returns>A <see cref="GenericSetType{T}" /> for the specified role.</returns> CollectionType OrderedSet<T>(string role, string propertyRef, bool embedded); /// <summary> /// Creates a new <see cref="CollectionType"/> for an <see cref="IDictionary"/>. /// </summary> /// <param name="role">The role the collection is in.</param> /// <param name="propertyRef"> /// The name of the property in the /// owner object containing the collection ID, or <see langword="null" /> if it is /// the primary key.</param> /// <param name="embedded">Is embedded in XML (not supported yet)</param> /// <returns> /// A <see cref="MapType"/> for the specified role. /// </returns> CollectionType Map(string role, string propertyRef, bool embedded); /// <summary> /// Creates a new <see cref="CollectionType"/> for an <see cref="IDictionary"/> /// that maintains insertion order of elements. /// </summary> /// <param name="role">The role the collection is in.</param> /// <param name="propertyRef">The name of the property in the /// owner object containing the collection ID, or <see langword="null" /> if it is /// the primary key.</param> /// <param name="embedded">Is embedded in XML (not supported yet)</param> /// <returns> /// A <see cref="OrderedMapType"/> for the specified role. /// </returns> CollectionType OrderedMap(string role, string propertyRef, bool embedded); /// <summary> /// Creates a new <see cref="CollectionType"/> for an <see cref="IDictionary"/> /// that is sorted by an <see cref="IComparer"/>. /// </summary> /// <param name="role">The role the collection is in.</param> /// <param name="propertyRef">The name of the property in the /// owner object containing the collection ID, or <see langword="null" /> if it is /// the primary key.</param> /// <param name="comparer">The <see cref="IComparer"/> that does the sorting.</param> /// <param name="embedded">Is embedded in XML (not supported yet)</param> /// <returns> /// A <see cref="SortedMapType"/> for the specified role. /// </returns> CollectionType SortedMap(string role, string propertyRef, bool embedded, IComparer comparer); |
| |||
/// <summary> /// Creates a new <see cref="CollectionType"/> for an ordered <see cref="Iesi.Collections.Generic.ISet{T}" />. /// Creates a new <see cref="CollectionType"/> for an /// <see cref="System.Collections.Generic.IList{T}"/> with identifier /// bag semantics. /// </summary> /// <typeparam name="T">The type of elements in the collection.</typeparam> /// <typeparam name="T">The type of elements in the list.</typeparam> /// <param name="role">The role the collection is in.</param> /// <param name="propertyRef"> /// The name of the property in the owner object containing the collection ID, /// or <see langword="null" /> if it is the primary key. /// <param name="propertyRef">The name of the property in the /// owner object containing the collection ID, or <see langword="null" /> if it is /// the primary key. /// </param> /// <param name="embedded">Is embedded in XML (not supported yet)</param> /// <returns>A <see cref="GenericSetType{T}" /> for the specified role.</returns> /// <returns> /// A <see cref="GenericIdentifierBagType{T}"/> for the specified role. /// </returns> CollectionType [[#variable4bb3de40]]<T>(string role, string propertyRef, bool embedded); /// <summary> /// Creates a new <see cref="CollectionType"/> for an <see cref="IDictionary"/>. /// Creates a new <see cref="CollectionType"/> for an <see cref="Iesi.Collections.ISet"/>. /// </summary> /// <param name="role">The role the collection is in.</param> /// <param name="propertyRef"> /// The name of the property in the /// <param name="propertyRef">The name of the property in the /// owner object containing the collection ID, or <see langword="null" /> if it is /// the primary key.</param> /// <param name="embedded">Is embedded in XML (not supported yet)</param> /// <returns> /// A <see cref="MapType"/> for the specified role. /// A <see cref="SetType"/> for the specified role. /// </returns> CollectionType [[#variable4bb3df00]](string role, string propertyRef, bool embedded); /// <summary> /// Creates a new <see cref="CollectionType"/> for an <see cref="IDictionary"/> /// that maintains insertion order of elements. /// </summary> /// <param name="role">The role the collection is in.</param> /// <param name="propertyRef">The name of the property in the /// owner object containing the collection ID, or <see langword="null" /> if it is /// the primary key.</param> /// <param name="embedded">Is embedded in XML (not supported yet)</param> /// <returns> /// A <see cref="OrderedMapType"/> for the specified role. /// </returns> CollectionType [[#variable4bb3dfe0]](string role, string propertyRef, bool embedded); /// <summary> /// Creates a new <see cref="CollectionType"/> for an <see cref="IDictionary"/> /// Creates a new <see cref="CollectionType"/> for an <see cref="Iesi.Collections.ISet"/> /// that is sorted by an <see cref="IComparer"/>. /// </summary> /// <param name="role">The role the collection is in.</param> /// <param name="propertyRef">The name of the property in the /// owner object containing the collection ID, or <see langword="null" /> if it is /// the primary key.</param> /// <param name="comparer">The <see cref="IComparer"/> that does the sorting.</param> /// <param name="embedded">Is embedded in XML (not supported yet)</param> /// <returns> /// A <see cref="SortedMapType"/> for the specified role. /// A <see cref="SortedSetType"/> for the specified role. /// </returns> CollectionType [[#variable4bb3ddc0]](string role, string propertyRef, bool embedded, IComparer comparer); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4bb3de40]] | OrderedSet |
1 | 2 | [[#4bb3de40]] | IdBag |
2 | 1 | [[#4bb3df00]] | Map |
2 | 2 | [[#4bb3df00]] | Set |
3 | 1 | [[#4bb3dfe0]] | OrderedMap |
3 | 2 | [[#4bb3dfe0]] | OrderedSet |
4 | 1 | [[#4bb3ddc0]] | SortedMap |
4 | 2 | [[#4bb3ddc0]] | SortedSet |