Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.970 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 44 | src/NHibernate/Impl/FutureBatch.cs |
2 | 4 | 50 | src/NHibernate/Impl/FutureBatch.cs |
| ||||
public IFutureValue<TResult> GetFutureValue<TResult>() { int currentIndex = index; return new FutureValue<TResult> (() => GetCurrentResult < TResult > (currentIndex)); } |
| ||||
public IEnumerable<TResult> GetEnumerator<TResult>() { int currentIndex = index; return new DelayedEnumerator<TResult> (() => GetCurrentResult < TResult > (currentIndex)); } |
| |||
public [[#variable65a0c780]]<TResult> [[#variable5f779f80]]<TResult>() { int currentIndex = index; return new [[#variable65a0ca60]]<TResult> (() => GetCurrentResult < TResult > (currentIndex)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#65a0c780]] | IFutureValue |
1 | 2 | [[#65a0c780]] | IEnumerable |
2 | 1 | [[#5f779f80]] | GetFutureValue |
2 | 2 | [[#5f779f80]] | GetEnumerator |
3 | 1 | [[#65a0ca60]] | FutureValue |
3 | 2 | [[#65a0ca60]] | DelayedEnumerator |