Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 4 | 2 | 0.982 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 261 | src/Iesi.Collections/Generic/ImmutableSet.cs |
2 | 4 | 272 | src/Iesi.Collections/Generic/ImmutableSet.cs |
3 | 4 | 283 | src/Iesi.Collections/Generic/ImmutableSet.cs |
4 | 4 | 294 | src/Iesi.Collections/Generic/ImmutableSet.cs |
| ||||
/// <summary> /// Performs Union when called trhough non-generic ISet interface /// </summary> /// <param name="a"></param> /// <returns></returns> protected override sealed ISet NonGenericUnion(ISet a) { ISet<T> m = GetUltimateBasisSet(); return new ImmutableSet(((ISet) m).Union(a)); } |
| ||||
/// <summary> /// Performs Minus when called trhough non-generic ISet interface /// </summary> /// <param name="a"></param> /// <returns></returns> protected override sealed ISet NonGenericMinus(ISet a) { ISet<T> m = GetUltimateBasisSet(); return new ImmutableSet(((ISet) m).Minus(a)); } |
| ||||
/// <summary> /// Performs Intersect when called trhough non-generic ISet interface /// </summary> /// <param name="a"></param> /// <returns></returns> protected override sealed ISet NonGenericIntersect(ISet a) { ISet<T> m = GetUltimateBasisSet(); return new ImmutableSet(((ISet) m).Intersect(a)); } |
| ||||
/// <summary> /// Performs ExclusiveOr when called trhough non-generic ISet interface /// </summary> /// <param name="a"></param> /// <returns></returns> protected override sealed ISet NonGenericExclusiveOr(ISet a) { ISet<T> m = GetUltimateBasisSet(); return new ImmutableSet(((ISet) m).ExclusiveOr(a)); } |
| |||
/// <summary> /// Performs ExclusiveOr when called trhough non-generic ISet interface /// Performs Intersect when called trhough non-generic ISet interface /// Performs Minus when called trhough non-generic ISet interface /// Performs Union when called trhough non-generic ISet interface /// </summary> /// <param name="a"></param> /// <returns></returns> protected override sealed ISet [[#variable545dc560]](ISet a) { ISet<T> m = GetUltimateBasisSet(); return new ImmutableSet(((ISet)m). [[#variable545dc420]](a)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#545dc560]] | NonGenericExclusiveOr |
1 | 2 | [[#545dc560]] | NonGenericIntersect |
1 | 3 | [[#545dc560]] | NonGenericMinus |
1 | 4 | [[#545dc560]] | NonGenericUnion |
2 | 1 | [[#545dc420]] | ExclusiveOr |
2 | 2 | [[#545dc420]] | Intersect |
2 | 3 | [[#545dc420]] | Minus |
2 | 4 | [[#545dc420]] | Union |