CloneSet5943


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.950class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
131843
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Util.java
231851
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Util.java
Clone Instance
1
Line Count
3
Source Line
1843
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Util.java

        /**
         * Sorts an array of objects in place.
         * The given comparer compares pairs of items.
         */
        public static void sort(Object[] objects, Comparer comparer) {
                if (objects.length > 1)
                        quickSort(objects, 0, objects.length - 1, comparer);
        }


Clone Instance
2
Line Count
3
Source Line
1851
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Util.java

        /**
         * Sorts an array of objects in place, using the sort order given for each item.
         */
        public static void sort(Object[] objects, int[] sortOrder) {
                if (objects.length > 1)
                        quickSort(objects, 0, objects.length - 1, sortOrder);
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * Sorts an array of objects in place.
         * The given comparer compares pairs of items.
         */
/**
         * Sorts an array of objects in place, using the sort order given for each item.
         */
public static void sort(Object[] objects, [[#variable72ee8840]]  [[#variable72ee8760]]) {
  if (objects.length > 1)
    quickSort(objects, 0, objects.length - 1,  [[#variable72ee8760]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#72ee8840]]
Comparer 
12[[#72ee8840]]
int[] 
21[[#72ee8760]]
comparer 
22[[#72ee8760]]
sortOrder