net.sf.statcvs.reports
Class FilesRevisionCountComparator

java.lang.Object
  extended by net.sf.statcvs.reports.FilesRevisionCountComparator
All Implemented Interfaces:
java.util.Comparator

public class FilesRevisionCountComparator
extends java.lang.Object
implements java.util.Comparator

Compares two files according to their number of changes (revisions). If two files have the same number of changes, the number of changed lines of code is used.

Version:
$Id: FilesRevisionCountComparator.java,v 1.5 2008/04/02 11:22:15 benoitx Exp $
Author:
Richard Cyganiak

Constructor Summary
FilesRevisionCountComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 
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
 

Constructor Detail

FilesRevisionCountComparator

public FilesRevisionCountComparator()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator
See Also:
Comparator.compare(java.lang.Object, java.lang.Object)


Copyright © 2008. All Rights Reserved.