| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 2 | 0.965 | class_member_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 683 | src/NHibernate/Impl/AbstractQueryImpl.cs |
| 2 | 3 | 111 | src/NHibernate/Impl/FilterImpl.cs |
| ||||
public IQuery SetParameterList(string name, object[] vals)
{
return SetParameterList(name, new ArrayList(vals));
}
|
| ||||
/// <summary>
/// Set the named parameter's value list for this filter. Used
/// in conjunction with IN-style filter criteria.
/// </summary>
/// <param name="name">The parameter's name.</param>
/// <param name="values">The values to be expanded into an SQL IN list.</param>
/// <returns>This FilterImpl instance (for method chaining).</returns>
public IFilter SetParameterList(string name, object[] values)
{
return SetParameterList(name, new ArrayList(values));
}
|
| |||
/// <summary>
/// Set the named parameter's value list for this filter. Used
/// in conjunction with IN-style filter criteria.
/// </summary>
/// <param name="name">The parameter's name.</param>
/// <param name="values">The values to be expanded into an SQL IN list.</param>
/// <returns>This FilterImpl instance (for method chaining).</returns>
public [[#variable54b8b480]]SetParameterList(string name, object[] [[#variable54b8b320]])
{
return SetParameterList(name, new ArrayList( [[#variable54b8b320]]));
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#54b8b480]] | IQuery |
| 1 | 2 | [[#54b8b480]] | IFilter |
| 2 | 1 | [[#54b8b320]] | vals |
| 2 | 2 | [[#54b8b320]] | values |