|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.harvester.harvesting.frontier.FrontierReportLineNaturalOrder
public class FrontierReportLineNaturalOrder
This class implements a natural order on FrontierReportLine
.
Comparisons are made :
- first by decreasing values of totalEnqueues
- secondly by domain name (string natural order)
Constructor Summary | |
---|---|
FrontierReportLineNaturalOrder()
|
Method Summary | |
---|---|
int |
compare(FrontierReportLineOrderKey k1,
FrontierReportLineOrderKey k2)
|
static FrontierReportLineNaturalOrder |
getInstance()
Returns the singleton instance of this class. |
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 |
---|
public FrontierReportLineNaturalOrder()
Method Detail |
---|
public int compare(FrontierReportLineOrderKey k1, FrontierReportLineOrderKey k2)
compare
in interface java.util.Comparator<FrontierReportLineOrderKey>
public static FrontierReportLineNaturalOrder getInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |