CompareClassPdiffspublic class CompareClassPdiffs extends Object implements Comparator
|Class to compare two ClassDiff objects.
See the file LICENSE.txt for copyright details.|
|public int||compare(java.lang.Object obj1, java.lang.Object obj2)|
Compare two class diffs by their percentage difference,
and then by name.
ClassDiff c1 = (ClassDiff)obj1;
ClassDiff c2 = (ClassDiff)obj2;
if (c1.pdiff < c2.pdiff)
if (c1.pdiff > c2.pdiff)