CloneSet1684


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2210.972ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1260
Closure/closure/goog/math/coordinate.js
22100
Closure/closure/goog/math/vec2.js
Clone Instance
1
Line Count
2
Source Line
60
Source File
Closure/closure/goog/math/coordinate.js

/**
 * Returns a new copy of the coordinate.
 * @return {!goog.math.Coordinate} A clone of this coordinate.
 */
goog.math.Coordinate.prototype.clone=  function ( )
                                                  {
  return new goog.math.Coordinate(this.x, this.y);
                                                  } ;


Clone Instance
2
Line Count
2
Source Line
100
Source File
Closure/closure/goog/math/vec2.js

/**
 * @return {!goog.math.Vec2} A new vector with the same coordinates as this one.
 */
goog.math.Vec2.prototype.clone=  function ( )
                                            {
  return new goog.math.Vec2(this.x, this.y);
                                            } ;


Clone AbstractionParameter Count: 1Parameter Bindings

/**
 * Returns a new copy of the coordinate.
 * @return {!goog.math.Coordinate} A clone of this coordinate.
 */
/**
 * @return {!goog.math.Vec2} A new vector with the same coordinates as this one.
 */
goog.math. [[#variable3edaf000]].prototype.clone= function ( )
                                                  { return new goog.math. [[#variable3edaf000]](this.x,this.y);
                                                  } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3edaf000]]
Coordinate 
12[[#3edaf000]]
Vec2