Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 2 | 0.955 | class_member_declarations[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 40 | src/NHibernate/Id/Enhanced/SequenceStructure.cs |
2 | 13 | 59 | src/NHibernate/Id/Enhanced/TableStructure.cs |
| ||||
public int IncrementSize { get { return incrementSize; } } public IAccessCallback BuildCallback(ISessionImplementor session) { return new SequenceAccessCallback(session, this ); } public void Prepare(IOptimizer optimizer) { applyIncrementSizeToSourceValues = optimizer.ApplyIncrementSizeToSourceValues; } |
| ||||
public int IncrementSize { get { return incrementSize; } } public virtual IAccessCallback BuildCallback(ISessionImplementor session) { return new TableAccessCallback(session, this ); } public virtual void Prepare(IOptimizer optimizer) { applyIncrementSizeToSourceValues = optimizer.ApplyIncrementSizeToSourceValues; } |
| |||
public int IncrementSize { get { return incrementSize; } } [[#variable49264400]]IAccessCallback BuildCallback(ISessionImplementor session) { return new [[#variable49264da0]](session, this ); } [[#variable49264400]]void Prepare(IOptimizer optimizer) { applyIncrementSizeToSourceValues = optimizer.ApplyIncrementSizeToSourceValues; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#49264400]] | public virtual |
1 | 2 | [[#49264400]] | public |
2 | 1 | [[#49264da0]] | TableAccessCallback |
2 | 2 | [[#49264da0]] | SequenceAccessCallback |