CloneSet1675


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
12215
Closure/closure/goog/math/rect.js
22279
Closure/closure/goog/math/rect.js
Clone Instance
1
Line Count
2
Source Line
215
Source File
Closure/closure/goog/math/rect.js

/**
 * Returns whether a rectangle intersects this rectangle.
 * @param {goog.math.Rect} rect A rectangle.
 * @return {boolean} Whether rect intersects this rectangle.
 */
goog.math.Rect.prototype.intersects=  function (rect){
  return goog.math.Rect.intersects(this, rect);
                                                     } ;


Clone Instance
2
Line Count
2
Source Line
279
Source File
Closure/closure/goog/math/rect.js

/**
 * Computes the difference regions between this rectangle and {@code rect}. The
 * return value is an array of 0 to 4 rectangles defining the remaining regions
 * of this rectangle after the other has been subtracted.
 * @param {goog.math.Rect} rect A Rectangle.
 * @return {!Array.<!goog.math.Rect>} An array with 0 to 4 rectangles which
 *     together define the difference area of rectangle a minus rectangle b.
 */
goog.math.Rect.prototype.difference=  function (rect){
  return goog.math.Rect.difference(this, rect);
                                                     } ;


Clone AbstractionParameter Count: 1Parameter Bindings

/**
 * Computes the difference regions between this rectangle and {@code rect}. The
 * return value is an array of 0 to 4 rectangles defining the remaining regions
 * of this rectangle after the other has been subtracted.
 * @param {goog.math.Rect} rect A Rectangle.
 * @return {!Array.<!goog.math.Rect>} An array with 0 to 4 rectangles which
 *     together define the difference area of rectangle a minus rectangle b.
 */
/**
 * Returns whether a rectangle intersects this rectangle.
 * @param {goog.math.Rect} rect A rectangle.
 * @return {boolean} Whether rect intersects this rectangle.
 */
goog.math.Rect.prototype. [[#variable46791c40]]= function (rect)
                                                 { return goog.math.Rect. [[#variable46791c40]](this,rect);
                                                 } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#46791c40]]
difference 
12[[#46791c40]]
intersects