Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
38 | 2 | 2 | 0.969 | class_member_declarations[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 38 | 56 | src/NHibernate/Criterion/AbstractCriterion.cs |
2 | 38 | 103 | src/NHibernate/Criterion/AbstractEmptinessExpression.cs |
| ||||
public static AbstractCriterion operator | (AbstractCriterion lhs, AbstractCriterion rhs) { return new OrExpression(lhs, rhs); } public static AbstractCriterion operator & (AbstractCriterion lhs, AbstractEmptinessExpression rhs) { return new AndExpression(lhs, rhs); } public static AbstractCriterion operator | (AbstractCriterion lhs, AbstractEmptinessExpression rhs) { return new OrExpression(lhs, rhs); } public static AbstractCriterion operator !(AbstractCriterion crit) { return new NotExpression(crit); } /// <summary> /// See here for details: /// http://steve.emxsoftware.com/NET/Overloading+the++and++operators /// </summary> public static bool operator false (AbstractCriterion criteria) { return false; } /// <summary> /// See here for details: /// http://steve.emxsoftware.com/NET/Overloading+the++and++operators /// </summary> public static bool operator true (AbstractCriterion criteria) { return false; } |
| ||||
public static AbstractCriterion operator | (AbstractEmptinessExpression lhs, AbstractEmptinessExpression rhs) { return new OrExpression(lhs, rhs); } public static AbstractCriterion operator & (AbstractEmptinessExpression lhs, AbstractCriterion rhs) { return new AndExpression(lhs, rhs); } public static AbstractCriterion operator | (AbstractEmptinessExpression lhs, AbstractCriterion rhs) { return new OrExpression(lhs, rhs); } public static AbstractCriterion operator !(AbstractEmptinessExpression crit) { return new NotExpression(crit); } /// <summary> /// See here for details: /// http://steve.emxsoftware.com/NET/Overloading+the++and++operators /// </summary> public static bool operator false (AbstractEmptinessExpression criteria) { return false; } /// <summary> /// See here for details: /// http://steve.emxsoftware.com/NET/Overloading+the++and++operators /// </summary> public static bool operator true (AbstractEmptinessExpression criteria) { return false; } |
| |||
public static AbstractCriterion operator | ( [[#variable6f55a120]]lhs, [[#variable6f55a120]]rhs) { return new OrExpression(lhs, rhs); } public static AbstractCriterion operator & ( [[#variable6f55a120]]lhs, [[#variable6f590a20]]rhs) { return new AndExpression(lhs, rhs); } public static AbstractCriterion operator | ( [[#variable6f55a120]]lhs, [[#variable6f590a20]]rhs) { return new OrExpression(lhs, rhs); } public static AbstractCriterion operator !( [[#variable6f55a120]]crit) { return new NotExpression(crit); } /// <summary> /// See here for details: /// http://steve.emxsoftware.com/NET/Overloading+the++and++operators /// </summary> public static bool operator false ( [[#variable6f55a120]]criteria) { return false; } /// <summary> /// See here for details: /// http://steve.emxsoftware.com/NET/Overloading+the++and++operators /// </summary> public static bool operator true ( [[#variable6f55a120]]criteria) { return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6f55a120]] | AbstractEmptinessExpression |
1 | 2 | [[#6f55a120]] | AbstractCriterion |
2 | 1 | [[#6f590a20]] | AbstractCriterion |
2 | 2 | [[#6f590a20]] | AbstractEmptinessExpression |