Class FileActivityComparator
java.lang.Object
org.apache.maven.plugins.changelog.FileActivityComparator
- All Implemented Interfaces:
Comparator<List<org.apache.maven.scm.ChangeFile>>
public class FileActivityComparator
extends Object
implements Comparator<List<org.apache.maven.scm.ChangeFile>>
Object used to sort the file-activity report into descending order.
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
FileActivityComparator
public FileActivityComparator()
-
-
Method Details
-
compare
public int compare(List<org.apache.maven.scm.ChangeFile> list1, List<org.apache.maven.scm.ChangeFile> list2) throws ClassCastException - Specified by:
compare
in interfaceComparator<List<org.apache.maven.scm.ChangeFile>>
- Throws:
ClassCastException
-