CloneSet1191


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.971ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16338
Closure/closure/goog/datasource/fastdatanode.js
26710
Closure/closure/goog/datasource/fastdatanode.js
Clone Instance
1
Line Count
6
Source Line
338
Source File
Closure/closure/goog/datasource/fastdatanode.js

/**
 * Gets the value of this data node (if called without opt_key) or
 * gets a child node (if called with opt_key).
 * @param {string=} opt_key Name of child node.
 * @return {goog.ds.DataNode} This data node or a child node.
 */
goog.ds.FastDataNode.prototype.get=  function (opt_key){
  if (!goog.isDef(opt_key)) {
    // if there is no key, DataNode#get was called
    return this ;
                            }
  else   {
    return this.getChildNode(opt_key);
         }
                                                       } ;


Clone Instance
2
Line Count
6
Source Line
710
Source File
Closure/closure/goog/datasource/fastdatanode.js

/**
 * Gets the value of this data node (if called without opt_key) or
 * gets a child node (if called with opt_key).
 * @param {string=} opt_key Name of child node.
 * @return {Array|goog.ds.DataNode} Array of child nodes (if called without
 *     opt_key), or a named child node otherwise.
 */
goog.ds.FastListNode.prototype.get=  function (opt_key){
  // if there are no arguments, DataNode.get was called
  if (!goog.isDef(opt_key)) {
    return this.values_;
                            }
  else   {
    return this.getChildNode(opt_key);
         }
                                                       } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Gets the value of this data node (if called without opt_key) or
 * gets a child node (if called with opt_key).
 * @param {string=} opt_key Name of child node.
 * @return {Array|goog.ds.DataNode} Array of child nodes (if called without
 *     opt_key), or a named child node otherwise.
 */
/**
 * Gets the value of this data node (if called without opt_key) or
 * gets a child node (if called with opt_key).
 * @param {string=} opt_key Name of child node.
 * @return {goog.ds.DataNode} This data node or a child node.
 */
goog.ds. [[#variable21225ec0]].prototype.get= function (opt_key)
                                              {
                                                // if there are no arguments, DataNode.get was called
                                                if (!goog.isDef(opt_key))
                                                  {
                                                    // if there is no key, DataNode#get was called
                                                    return [[#variable21225f40]];
                                                  }
                                                else
                                                  { return this.getChildNode(opt_key);
                                                  }
                                              } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#21225ec0]]
FastListNode 
12[[#21225ec0]]
FastDataNode 
21[[#21225f40]]
this.values_ 
22[[#21225f40]]
this