CloneSet939


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5310.983method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15322
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/Month.java
25330
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/Quarter.java
35467
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/Week.java
Next
Last
Clone Instance
1
Line Count
5
Source Line
322
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/Month.java

/**
 * Returns a hash code for this object instance.  The approach described by
 * Joshua Bloch in "Effective Java" has been used here:
 * <p>
 * <code>http://developer.java.sun.com/developer/Books/effectivejava
 * /Chapter3.pdf</code>
 * 
 * @return A hash code.
 */
public int hashCode() {
  int result = 17;
  result = 37 * result + this.month;
  result = 37 * result + this.year;
  return result;
}


Next
Previous
Clone Instance
2
Line Count
5
Source Line
330
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/Quarter.java

/**
 * Returns a hash code for this object instance.  The approach described by
 * Joshua Bloch in "Effective Java" has been used here:
 * <p>
 * <code>http://developer.java.sun.com/developer/Books/effectivejava
 * /Chapter3.pdf</code>
 * 
 * @return A hash code.
 */
public int hashCode() {
  int result = 17;
  result = 37 * result + this.quarter;
  result = 37 * result + this.year;
  return result;
}


First
Previous
Clone Instance
3
Line Count
5
Source Line
467
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/Week.java

/**
 * Returns a hash code for this object instance.  The approach described by
 * Joshua Bloch in "Effective Java" has been used here:
 * <p>
 * <code>http://developer.java.sun.com/developer/Books/effectivejava
 * /Chapter3.pdf</code>
 * 
 * @return A hash code.
 */
public int hashCode() {
  int result = 17;
  result = 37 * result + this.week;
  result = 37 * result + this.year;
  return result;
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Returns a hash code for this object instance.  The approach described by
     * Joshua Bloch in "Effective Java" has been used here:
     * <p>
     * <code>http://developer.java.sun.com/developer/Books/effectivejava
     * /Chapter3.pdf</code>
     * 
     * @return A hash code.
     */
public int hashCode() {
  int result = 17;
  result = 37 * result + this. [[#variable18dfae40]];
  result = 37 * result + this.year;
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18dfae40]]
month 
12[[#18dfae40]]
quarter 
13[[#18dfae40]]
week