Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 2 | 0.962 | nested_class_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 106 | E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/options/ContextOptionPane.java |
2 | 8 | 211 | E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/options/ToolBarOptionPane.java |
| |||||
static class MenuItemCompare implements MiscUtilities.Compare { public int compare(Object obj1, Object obj2) { return MiscUtilities.compareStrings(((MenuItem) obj1).label, ((MenuItem) obj2).label, true); } } |
| |||||
//}}} //{{{ Inner classes //{{{ ButtonCompare class static class ButtonCompare implements MiscUtilities.Compare { public int compare(Object obj1, Object obj2) { return MiscUtilities.compareStrings(((Button) obj1).label, ((Button) obj2).label, true); } } //}}} |
| |||
//}}} //{{{ Inner classes //{{{ ButtonCompare class static class [[#variableaec25e0]]implements MiscUtilities.Compare { public int compare(Object obj1, Object obj2) { return MiscUtilities.compareStrings((( [[#variableaec2540]]) obj1).label, (( [[#variableaec2540]]) obj2).label, true); } } //}}} |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#aec25e0]] | MenuItemCompare |
1 | 2 | [[#aec25e0]] | ButtonCompare |
2 | 1 | [[#aec2540]] | MenuItem |
2 | 2 | [[#aec2540]] | Button |