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.951 | interface_body |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 60 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/urls/CategoryURLGenerator.java |
2 | 13 | 52 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/urls/XYZURLGenerator.java |
| |||||
{ /** * Returns a URL for one item in a dataset. As a guideline, the URL * should be valid within the context of an XHTML 1.0 document. Classes * that implement this interface are responsible for correctly escaping * any text that is derived from the dataset, as this may be user-specified * and could pose a security risk. * * @param dataset the dataset. * @param series the series (zero-based index). * @param category the category. * * @return A string containing the URL. */ public String generateURL(CategoryDataset dataset, int series, int category); } |
| |||||
{ /** * Generates a URL for a particular item within a series. As a guideline, * the URL should be valid within the context of an XHTML 1.0 document. * * @param dataset the dataset (<code>null</code> not permitted). * @param series the series index (zero-based). * @param item the item index (zero-based). * * @return A string containing the generated URL. */ public String generateURL(XYZDataset dataset, int series, int item); } |
| |||
{ /** * Generates a URL for a particular item within a series. As a guideline, * the URL should be valid within the context of an XHTML 1.0 document. * * @param dataset the dataset (<code>null</code> not permitted). * @param series the series index (zero-based). * @param item the item index (zero-based). * * @return A string containing the generated URL. */ /** * Returns a URL for one item in a dataset. As a guideline, the URL * should be valid within the context of an XHTML 1.0 document. Classes * that implement this interface are responsible for correctly escaping * any text that is derived from the dataset, as this may be user-specified * and could pose a security risk. * * @param dataset the dataset. * @param series the series (zero-based index). * @param category the category. * * @return A string containing the URL. */ public String generateURL( [[#variable1a0e14c0]] dataset, int series, int [[#variable1a0e13e0]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1a0e14c0]] | CategoryDataset |
1 | 2 | [[#1a0e14c0]] | XYZDataset |
2 | 1 | [[#1a0e13e0]] | category |
2 | 2 | [[#1a0e13e0]] | item |