CloneSet5829


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11220.959class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11147
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SubTypesSet.java
211211
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SuperTypesSet.java
Clone Instance
1
Line Count
11
Source Line
47
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SubTypesSet.java

        /* (non-Javadoc)
         * @see java.lang.Object#equals(java.lang.Object)
         */
        public boolean equals(Object o) {
                if (o instanceof SubTypesSet) {
                        SubTypesSet other = (SubTypesSet) o;
                        return other.fUpperBounds.equals(fUpperBounds);
//              } else if (o instanceof TypeSet) {
//                      TypeSet other= (TypeSet) o;
//                      if (other.isUniverse() && isUniverse())
//                              return true;
//                      return enumerate().equals(other.enumerate());
                }
                else    return false;
        }


Clone Instance
2
Line Count
11
Source Line
211
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SuperTypesSet.java

        /* (non-Javadoc)
         * @see java.lang.Object#equals(java.lang.Object)
         */
        public boolean equals(Object o) {
                if (o instanceof SuperTypesSet) {
                        SuperTypesSet other = (SuperTypesSet) o;
                        return other.fLowerBounds.equals(fLowerBounds);
//              } else if (o instanceof TypeSet) {
//                      TypeSet other= (TypeSet) o;
//                      if (other.isUniverse() && isUniverse())
//                              return true;
//                      return enumerate().equals(other.enumerate());
                }
                else    return false;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/* (non-Javadoc)
         * @see java.lang.Object#equals(java.lang.Object)
         */
public boolean equals(Object o) {
  if (o instanceof [[#variable90106aa0]]) {
     [[#variable90106aa0]] other = ( [[#variable90106aa0]]) o;
    return other. [[#variable90106a20]].equals( [[#variable90106a20]]);
  //              } else if (o instanceof TypeSet) {
  //                      TypeSet other= (TypeSet) o;
  //                      if (other.isUniverse() && isUniverse())
  //                              return true;
  //                      return enumerate().equals(other.enumerate());
  }
  else
    return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#90106aa0]]
SuperTypesSet 
12[[#90106aa0]]
SubTypesSet 
21[[#90106a20]]
fLowerBounds 
22[[#90106a20]]
fUpperBounds