﻿ CloneSet 1516

# CloneSet1516

 Previous CloneSet Next CloneSet Back to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2210.976ExpressionStatement
 Clone Abstraction Parameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12133
`Closure/closure/goog/math/coordinate.js`
22238
`Closure/closure/goog/math/vec2.js`
 Clone Instance1 Line Count2 Source Line133 Source File`Closure/closure/goog/math/coordinate.js`

```/**
* Returns the difference between two coordinates as a new
* goog.math.Coordinate.
* @param {goog.math.Coordinate} a A Coordinate.
* @param {goog.math.Coordinate} b A Coordinate.
* @return {goog.math.Coordinate} A Coordinate representing the difference
*     between {@code a} and {@code b}.
*/
goog.math.Coordinate.difference=  function (a, b){
return new goog.math.Coordinate(a.x-  b.x, a.y-  b.y);
} ;

```

 Clone Instance2 Line Count2 Source Line238 Source File`Closure/closure/goog/math/vec2.js`

```/**
* Returns the difference between two vectors as a new Vec2.
* @param {!goog.math.Vec2} a The first vector.
* @param {!goog.math.Vec2} b The second vector.
* @return {!goog.math.Vec2} The difference vector.
*/
goog.math.Vec2.difference=  function (a, b){
return new goog.math.Vec2(a.x-  b.x, a.y-  b.y);
} ;

```

 Clone Abstraction Parameter Count: 1 Parameter Bindings

```/**
* Returns the difference between two coordinates as a new
* goog.math.Coordinate.
* @param {goog.math.Coordinate} a A Coordinate.
* @param {goog.math.Coordinate} b A Coordinate.
* @return {goog.math.Coordinate} A Coordinate representing the difference
*     between {@code a} and {@code b}.
*/
/**
* Returns the difference between two vectors as a new Vec2.
* @param {!goog.math.Vec2} a The first vector.
* @param {!goog.math.Vec2} b The second vector.
* @return {!goog.math.Vec2} The difference vector.
*/
goog.math. [[#variable62f62580]].difference= function (a,b)
{ return new goog.math. [[#variable62f62580]](a.x-b.x,a.y-b.y);
} ;
```

 CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#62f62580]]
`Coordinate `
12[[#62f62580]]
`Vec2 `