CloneSet1601


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.974ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12131
Closure/closure/goog/structs/set.js
22158
Closure/closure/goog/structs/set.js
Clone Instance
1
Line Count
2
Source Line
131
Source File
Closure/closure/goog/structs/set.js

/**
 * Removes the given element from this set.
 * @param {*} element The primitive or object to remove.
 * @return {boolean} Whether the element was found and removed.
 */
goog.structs.Set.prototype.remove=  function (element){
  return this.map_.remove(goog.structs.Set.getKey_(element));
                                                      } ;


Clone Instance
2
Line Count
2
Source Line
158
Source File
Closure/closure/goog/structs/set.js

/**
 * Tests whether this set contains the given element.
 * @param {*} element The primitive or object to test for.
 * @return {boolean} True if this set contains the given element.
 */
goog.structs.Set.prototype.contains=  function (element){
  return this.map_.containsKey(goog.structs.Set.getKey_(element));
                                                        } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Tests whether this set contains the given element.
 * @param {*} element The primitive or object to test for.
 * @return {boolean} True if this set contains the given element.
 */
/**
 * Removes the given element from this set.
 * @param {*} element The primitive or object to remove.
 * @return {boolean} Whether the element was found and removed.
 */
goog.structs.Set.prototype. [[#variable1f8a1320]]= function (element)
                                                   { return this.map_. [[#variable1f8a12c0]](goog.structs.Set.getKey_(element));
                                                   } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1f8a1320]]
contains 
12[[#1f8a1320]]
remove 
21[[#1f8a12c0]]
containsKey 
22[[#1f8a12c0]]
remove