CloneSet638


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

/**
 * Adds all the values in the given collection to this set.
 * @param {Array|Object} col A collection containing the elements to add.
 */
goog.structs.Set.prototype.addAll=  function (col){
  var values=  goog.structs.getValues(col);
  var l=  values.length;
  for (var i=  0; i<  l; i++) {
    this.add(values[i]);
                              }
                                                  } ;


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

/**
 * Removes all values in the given collection from this set.
 * @param {Array|Object} col A collection containing the elements to remove.
 */
goog.structs.Set.prototype.removeAll=  function (col){
  var values=  goog.structs.getValues(col);
  var l=  values.length;
  for (var i=  0; i<  l; i++) {
    this.remove(values[i]);
                              }
                                                     } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Removes all values in the given collection from this set.
 * @param {Array|Object} col A collection containing the elements to remove.
 */
/**
 * Adds all the values in the given collection to this set.
 * @param {Array|Object} col A collection containing the elements to add.
 */
goog.structs.Set.prototype. [[#variable3ed662a0]]= function (col)
                                                   { var values=goog.structs.getValues(col);
                                                     var l=values.length;
                                                     for (var i=0; i<l; i++)
                                                       { this. [[#variable3ed66200]](values[i]);
                                                       }
                                                   } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3ed662a0]]
removeAll 
12[[#3ed662a0]]
addAll 
21[[#3ed66200]]
remove 
22[[#3ed66200]]
add