Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
35 | 2 | 1 | 0.979 | class_body_declarations[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 42 | 122 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/entity/LegendItemEntity.java |
2 | 35 | 578 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/LegendItem.java |
| |||||
/** * Returns the series key that identifies the legend item. * * @return The series key. * * @since 1.0.6 * * @see #setSeriesKey(Comparable) */ public Comparable getSeriesKey() { return this.seriesKey; } /** * Sets the key for the series. * * @param key the key. * * @since 1.0.6 * * @see #getSeriesKey() */ public void setSeriesKey(Comparable key) { this.seriesKey = key; } /** * Returns the series index. * * @return The series index. * * @see #setSeriesIndex(int) * * @deprecated As of 1.0.6, use the {@link #getSeriesKey()} method. */ public int getSeriesIndex() { return this.seriesIndex; } /** * Sets the series index. * * @param index the series index. * * @see #getSeriesIndex() * * @deprecated As of 1.0.6, use the {@link #setSeriesKey(Comparable)} * method. */ public void setSeriesIndex(int index) { this.seriesIndex = index; } |
| |||||
/** * Returns the series key. * * @return The series key. * * @since 1.0.6 * * @see #setSeriesKey(Comparable) */ public Comparable getSeriesKey() { return this.seriesKey; } /** * Sets the series key. * * @param key the series key. * * @since 1.0.6 */ public void setSeriesKey(Comparable key) { this.seriesKey = key; } /** * Returns the series index for this legend item. * * @return The series index. * * @since 1.0.2 */ public int getSeriesIndex() { return this.series; } /** * Sets the series index for this legend item. * * @param index the index. * * @since 1.0.2 */ public void setSeriesIndex(int index) { this.series = index; } |
| |||
/** * Returns the series key. * * @return The series key. * * @since 1.0.6 * * @see #setSeriesKey(Comparable) */ /** * Returns the series key that identifies the legend item. * * @return The series key. * * @since 1.0.6 * * @see #setSeriesKey(Comparable) */ public Comparable getSeriesKey() { return this.seriesKey; } /** * Sets the series key. * * @param key the series key. * * @since 1.0.6 */ /** * Sets the key for the series. * * @param key the key. * * @since 1.0.6 * * @see #getSeriesKey() */ public void setSeriesKey(Comparable key) { this.seriesKey = key; } /** * Returns the series index for this legend item. * * @return The series index. * * @since 1.0.2 */ /** * Returns the series index. * * @return The series index. * * @see #setSeriesIndex(int) * * @deprecated As of 1.0.6, use the {@link #getSeriesKey()} method. */ public int getSeriesIndex() { return this. [[#variable18d8b9a0]]; } /** * Sets the series index for this legend item. * * @param index the index. * * @since 1.0.2 */ /** * Sets the series index. * * @param index the series index. * * @see #getSeriesIndex() * * @deprecated As of 1.0.6, use the {@link #setSeriesKey(Comparable)} * method. */ public void setSeriesIndex(int index) { this. [[#variable18d8b9a0]]= index; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18d8b9a0]] | seriesIndex |
1 | 2 | [[#18d8b9a0]] | series |