CloneSet2385


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9220.960block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1955
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/util/SimpleLookupTable.java
2966
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/util/SimpleLookupTable.java
Clone Instance
1
Line Count
9
Source Line
55
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/util/SimpleLookupTable.java

                                       {
        int length = keyTable.length;
        int index = (key.hashCode()&  0x7fffffff) % length;
        Object currentKey;
        while ((currentKey = keyTable[index]) != null) {
                if (currentKey.equals(key)) return true;
                if ( ++index == length)index = 0;
        }
        return false;
                                       }


Clone Instance
2
Line Count
9
Source Line
66
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/util/SimpleLookupTable.java

                              {
        int length = keyTable.length;
        int index = (key.hashCode()&  0x7fffffff) % length;
        Object currentKey;
        while ((currentKey = keyTable[index]) != null) {
                if (currentKey.equals(key)) return valueTable[index];
                if ( ++index == length)index = 0;
        }
        return null;
                              }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  int length = keyTable.length;
  int index = (key.hashCode()&0x7fffffff) % length;
  Object currentKey;
  while ((currentKey = keyTable[index]) != null) {
    if (currentKey.equals(key))
      return [[#variablea5c41ee0]];
    if ( ++index == length)
      index = 0;
  }
  return [[#variablea5c41e40]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a5c41ee0]]
true 
12[[#a5c41ee0]]
valueTable[index] 
21[[#a5c41e40]]
false 
22[[#a5c41e40]]
null