| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 35 | 2 | 5 | 0.953 | SourceElements[4] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 35 | 349 | Closure/closure/goog/ui/media/mediamodel.js |
| 2 | 35 | 423 | Closure/closure/goog/ui/media/mediamodel.js |
| ||||
/**
* Gets the thumbnail URL.
* @return {string} The thumbnail's image URL.
*/
goog.ui.media.MediaModel.Thumbnail.prototype.getUrl= function ( )
{
return this.url_;
} ;
/**
* Sets the thumbnail URL.
* @param {string} url The thumbnail's image URL.
* @return {goog.ui.media.MediaModel.Thumbnail} The object itself, used for
* chaining.
*/
goog.ui.media.MediaModel.Thumbnail.prototype.setUrl= function (url){
this.url_= url;
return this ;
} ;
/**
* Gets the thumbnail size.
* @return {goog.math.Size} The size of the thumbnail's image if known.
*/
goog.ui.media.MediaModel.Thumbnail.prototype.getSize= function ( )
{
return this.size_;
} ;
/**
* Sets the thumbnail size.
* @param {goog.math.Size} size The size of the thumbnail's image.
* @return {goog.ui.media.MediaModel.Thumbnail} The object itself, used for
* chaining.
*/
goog.ui.media.MediaModel.Thumbnail.prototype.setSize= function (size){
this.size_= size;
return this ;
} ;
|
| ||||
/**
* Gets the player url.
* @return {string} The thumbnail's image URL.
*/
goog.ui.media.MediaModel.Player.prototype.getUrl= function ( )
{
return this.url_;
} ;
/**
* Sets the player url.
* @param {string} url The thumbnail's image URL.
* @return {goog.ui.media.MediaModel.Player} The object itself, used for
* chaining.
*/
goog.ui.media.MediaModel.Player.prototype.setUrl= function (url){
this.url_= url;
return this ;
} ;
/**
* Gets the player arguments.
* @return {Object} The media player arguments.
*/
goog.ui.media.MediaModel.Player.prototype.getVars= function ( )
{
return this.vars_;
} ;
/**
* Sets the player arguments.
* @param {Object} vars The media player arguments.
* @return {goog.ui.media.MediaModel.Player} The object itself, used for
* chaining.
*/
goog.ui.media.MediaModel.Player.prototype.setVars= function (vars){
this.vars_= vars;
return this ;
} ;
|
| |||
/**
* Gets the player url.
* @return {string} The thumbnail's image URL.
*/
/**
* Gets the thumbnail URL.
* @return {string} The thumbnail's image URL.
*/
goog.ui.media.MediaModel. [[#variable5f902480]].prototype.getUrl= function ( )
{ return this.url_;
} ;
/**
* Sets the player url.
* @param {string} url The thumbnail's image URL.
* @return {goog.ui.media.MediaModel.Player} The object itself, used for
* chaining.
*/
/**
* Sets the thumbnail URL.
* @param {string} url The thumbnail's image URL.
* @return {goog.ui.media.MediaModel.Thumbnail} The object itself, used for
* chaining.
*/
goog.ui.media.MediaModel. [[#variable5f902480]].prototype.setUrl= function (url)
{ this.url_=url;
return this ;
} ;
/**
* Gets the player arguments.
* @return {Object} The media player arguments.
*/
/**
* Gets the thumbnail size.
* @return {goog.math.Size} The size of the thumbnail's image if known.
*/
goog.ui.media.MediaModel. [[#variable5f902480]].prototype. [[#variable623aad40]]= function ( )
{ return this. [[#variable623aad00]];
} ;
/**
* Sets the player arguments.
* @param {Object} vars The media player arguments.
* @return {goog.ui.media.MediaModel.Player} The object itself, used for
* chaining.
*/
/**
* Sets the thumbnail size.
* @param {goog.math.Size} size The size of the thumbnail's image.
* @return {goog.ui.media.MediaModel.Thumbnail} The object itself, used for
* chaining.
*/
goog.ui.media.MediaModel. [[#variable5f902480]].prototype. [[#variable623aabc0]]= function ( [[#variable623aaae0]])
{ this. [[#variable623aad00]]= [[#variable623aaae0]];
return this ;
} ;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5f902480]] | Player |
| 1 | 2 | [[#5f902480]] | Thumbnail |
| 2 | 1 | [[#623aad40]] | getVars |
| 2 | 2 | [[#623aad40]] | getSize |
| 3 | 1 | [[#623aad00]] | vars_ |
| 3 | 2 | [[#623aad00]] | size_ |
| 4 | 1 | [[#623aabc0]] | setVars |
| 4 | 2 | [[#623aabc0]] | setSize |
| 5 | 1 | [[#623aaae0]] | vars |
| 5 | 2 | [[#623aaae0]] | size |