Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
27 | 2 | 2 | 0.978 | compilation_unit |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 27 | 1 | src/NHibernate/Criterion/IsEmptyExpression.cs |
2 | 27 | 1 | src/NHibernate/Criterion/IsNotEmptyExpression.cs |
| ||||
using System; namespace NHibernate.Criterion { /// <summary> /// An <see cref="ICriterion"/> that represents empty association constraint. /// </summary> [Serializable] public class IsEmptyExpression : AbstractEmptinessExpression { public IsEmptyExpression(string propertyName) : base(propertyName) { } protected override bool ExcludeEmpty { get { return false; } } public override IProjection[] GetProjections() { return null; } } } |
| ||||
using System; namespace NHibernate.Criterion { /// <summary> /// An <see cref="ICriterion"/> that represents non-empty association constraint. /// </summary> [Serializable] public class IsNotEmptyExpression : AbstractEmptinessExpression { public IsNotEmptyExpression(string propertyName) : base(propertyName) { } protected override bool ExcludeEmpty { get { return true; } } public override IProjection[] GetProjections() { return null; } } } |
| |||
using System; namespace NHibernate.Criterion { /// <summary> /// An <see cref="ICriterion"/> that represents empty association constraint. /// An <see cref="ICriterion"/> that represents non-empty association constraint. /// </summary> [Serializable] public class [[#variable554353c0]]: AbstractEmptinessExpression { public [[#variable554353c0]](string propertyName): base(propertyName) { } protected override bool ExcludeEmpty { get { return [[#variable55435340]]; } } public override IProjection[] GetProjections() { return null; } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#554353c0]] | IsEmptyExpression |
1 | 2 | [[#554353c0]] | IsNotEmptyExpression |
2 | 1 | [[#55435340]] | false |
2 | 2 | [[#55435340]] | true |