CloneSet1133


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.973ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
151149
Closure/closure/goog/ui/container.js
251172
Closure/closure/goog/ui/container.js
Clone Instance
1
Line Count
5
Source Line
1149
Source File
Closure/closure/goog/ui/container.js

/**
 * Highlights the last highlightable item in the container.
 */
goog.ui.Container.prototype.highlightLast=  function ( )
                                                       {
  this.highlightHelper( function (index, max){
     index--;
     return index<  0
            ?           max-  1
            :                     index;
                                             } ,0);
                                                       } ;


Clone Instance
2
Line Count
5
Source Line
1172
Source File
Closure/closure/goog/ui/container.js

/**
 * Highlights the previous highlightable item (or the last if nothing is
 * currently highlighted).
 */
goog.ui.Container.prototype.highlightPrevious=  function ( )
                                                           {
  this.highlightHelper( function (index, max){
     index--;
     return index<  0
            ?           max-  1
            :                     index;
                                             } ,this.highlightedIndex_);
                                                           } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Highlights the previous highlightable item (or the last if nothing is
 * currently highlighted).
 */
/**
 * Highlights the last highlightable item in the container.
 */
goog.ui.Container.prototype. [[#variable20ad95e0]]= function ( )
                                                    { this.highlightHelper( function (index,max)
                                                                            { index--;
                                                                              return index<0
                                                                                     ?max-1
                                                                                     :index;
                                                                            } , [[#variable20ad9580]]);
                                                    } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#20ad95e0]]
highlightPrevious 
12[[#20ad95e0]]
highlightLast 
21[[#20ad9580]]
this.highlightedIndex_ 
22[[#20ad9580]]
0