CloneSet952


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19210.954class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
119120
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/DatasetRenderingOrder.java
219118
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/SeriesRenderingOrder.java
Next
Last
Clone Instance
1
Line Count
19
Source Line
120
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/DatasetRenderingOrder.java

/**
 * Returns a hash code for this instance.
 * 
 * @return A hash code.
 */
public int hashCode() {
  return this.name.hashCode();
}

/**
 * Ensures that serialization returns the unique instances.
 * 
 * @return The object.
 * 
 * @throws ObjectStreamException if there is a problem.
 */
private Object readResolve() throws ObjectStreamException {
  if (this.equals(DatasetRenderingOrder.FORWARD)) {
    return DatasetRenderingOrder.FORWARD;
  }
  else
    if (this.equals(DatasetRenderingOrder.REVERSE)) {
      return DatasetRenderingOrder.REVERSE;
    }
  return null;
}


First
Previous
Clone Instance
2
Line Count
19
Source Line
118
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/SeriesRenderingOrder.java

/**
 * Returns a hash code for this instance.
 * 
 * @return A hash code.
 */
public int hashCode() {
  return this.name.hashCode();
}

/**
 * Ensures that serialization returns the unique instances.
 *
 * @return The object.
 *
 * @throws ObjectStreamException if there is a problem.
 */
private Object readResolve() throws ObjectStreamException {
  if (this.equals(SeriesRenderingOrder.FORWARD)) {
    return SeriesRenderingOrder.FORWARD;
  }
  else
    if (this.equals(SeriesRenderingOrder.REVERSE)) {
      return SeriesRenderingOrder.REVERSE;
    }
  return null;
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Returns a hash code for this instance.
     * 
     * @return A hash code.
     */
public int hashCode() {
  return this.name.hashCode();
}

/**
     * Ensures that serialization returns the unique instances.
     * 
     * @return The object.
     * 
     * @throws ObjectStreamException if there is a problem.
     */
/**
     * Ensures that serialization returns the unique instances.
     *
     * @return The object.
     *
     * @throws ObjectStreamException if there is a problem.
     */
private Object readResolve() throws ObjectStreamException {
  if (this.equals( [[#variable18e0bea0]].FORWARD)) {
    return [[#variable18e0bea0]].FORWARD;
  }
  else
    if (this.equals( [[#variable18e0bea0]].REVERSE)) {
      return [[#variable18e0bea0]].REVERSE;
    }
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18e0bea0]]
DatasetRenderingOrder 
12[[#18e0bea0]]
SeriesRenderingOrder