CloneSet518


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
37210.993class_body_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13695
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/ComparableObjectSeries.java
237148
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XYSeries.java
Next
Last
Clone Instance
1
Line Count
36
Source Line
95
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/ComparableObjectSeries.java

/**
 * Constructs a new series that contains no data.  You can specify 
 * whether or not duplicate x-values are allowed for the series.
 *
 * @param key  the series key (<code>null</code> not permitted).
 * @param autoSort  a flag that controls whether or not the items in the 
 *                  series are sorted.
 * @param allowDuplicateXValues  a flag that controls whether duplicate 
 *                               x-values are allowed.
 */
public ComparableObjectSeries(Comparable key, boolean autoSort, boolean allowDuplicateXValues) {
  super(key);
  this.data = new java.util.ArrayList();
  this.autoSort = autoSort;
  this.allowDuplicateXValues = allowDuplicateXValues;
}

/**
 * Returns the flag that controls whether the items in the series are 
 * automatically sorted.  There is no setter for this flag, it must be 
 * defined in the series constructor.
 * 
 * @return A boolean.
 */
public boolean getAutoSort() {
  return this.autoSort;
}

/**
 * Returns a flag that controls whether duplicate x-values are allowed.  
 * This flag can only be set in the constructor.
 *
 * @return A boolean.
 */
public boolean getAllowDuplicateXValues() {
  return this.allowDuplicateXValues;
}

/**
 * Returns the number of items in the series.
 *
 * @return The item count.
 */
public int getItemCount() {
  return this.data.size();
}


First
Previous
Clone Instance
2
Line Count
37
Source Line
148
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XYSeries.java

/**
 * Constructs a new xy-series that contains no data.  You can specify
 * whether or not duplicate x-values are allowed for the series.
 *
 * @param key  the series key (<code>null</code> not permitted).
 * @param autoSort  a flag that controls whether or not the items in the
 *                  series are sorted.
 * @param allowDuplicateXValues  a flag that controls whether duplicate
 *                               x-values are allowed.
 */
public XYSeries(Comparable key, boolean autoSort, boolean allowDuplicateXValues) {
  super(key);
  this.data = new java.util.ArrayList();
  this.autoSort = autoSort;
  this.allowDuplicateXValues = allowDuplicateXValues;
}

/**
 * Returns the flag that controls whether the items in the series are
 * automatically sorted.  There is no setter for this flag, it must be
 * defined in the series constructor.
 *
 * @return A boolean.
 */
public boolean getAutoSort() {
  return this.autoSort;
}

/**
 * Returns a flag that controls whether duplicate x-values are allowed.
 * This flag can only be set in the constructor.
 *
 * @return A boolean.
 */
public boolean getAllowDuplicateXValues() {
  return this.allowDuplicateXValues;
}

/**
 * Returns the number of items in the series.
 *
 * @return The item count.
 */
public int getItemCount() {
  return this.data.size();
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Constructs a new xy-series that contains no data.  You can specify
     * whether or not duplicate x-values are allowed for the series.
     *
     * @param key  the series key (<code>null</code> not permitted).
     * @param autoSort  a flag that controls whether or not the items in the
     *                  series are sorted.
     * @param allowDuplicateXValues  a flag that controls whether duplicate
     *                               x-values are allowed.
     */
/**
     * Constructs a new series that contains no data.  You can specify 
     * whether or not duplicate x-values are allowed for the series.
     *
     * @param key  the series key (<code>null</code> not permitted).
     * @param autoSort  a flag that controls whether or not the items in the 
     *                  series are sorted.
     * @param allowDuplicateXValues  a flag that controls whether duplicate 
     *                               x-values are allowed.
     */
public [[#variable18c1e7e0]](Comparable key, boolean autoSort, boolean allowDuplicateXValues) {
  super(key);
  this.data = new java.util.ArrayList();
  this.autoSort = autoSort;
  this.allowDuplicateXValues = allowDuplicateXValues;
}

/**
     * Returns the flag that controls whether the items in the series are
     * automatically sorted.  There is no setter for this flag, it must be
     * defined in the series constructor.
     *
     * @return A boolean.
     */
/**
     * Returns the flag that controls whether the items in the series are 
     * automatically sorted.  There is no setter for this flag, it must be 
     * defined in the series constructor.
     * 
     * @return A boolean.
     */
public boolean getAutoSort() {
  return this.autoSort;
}

/**
     * Returns a flag that controls whether duplicate x-values are allowed.
     * This flag can only be set in the constructor.
     *
     * @return A boolean.
     */
/**
     * Returns a flag that controls whether duplicate x-values are allowed.  
     * This flag can only be set in the constructor.
     *
     * @return A boolean.
     */
public boolean getAllowDuplicateXValues() {
  return this.allowDuplicateXValues;
}

/**
     * Returns the number of items in the series.
     *
     * @return The item count.
     */
public int getItemCount() {
  return this.data.size();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18c1e7e0]]
ComparableObjectSeries 
12[[#18c1e7e0]]
XYSeries