public class FrontierReportLineNaturalOrder extends Object implements Comparator<dk.netarkivet.harvester.harvesting.frontier.FrontierReportLineOrderKey>
FrontierReportLine
. Comparisons are made : - first by decreasing
values of totalEnqueues - secondly by domain name (string natural order)Constructor and Description |
---|
FrontierReportLineNaturalOrder() |
Modifier and Type | Method and Description |
---|---|
int |
compare(dk.netarkivet.harvester.harvesting.frontier.FrontierReportLineOrderKey k1,
dk.netarkivet.harvester.harvesting.frontier.FrontierReportLineOrderKey k2) |
static FrontierReportLineNaturalOrder |
getInstance()
Returns the singleton instance of this class.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public FrontierReportLineNaturalOrder()
public int compare(dk.netarkivet.harvester.harvesting.frontier.FrontierReportLineOrderKey k1, dk.netarkivet.harvester.harvesting.frontier.FrontierReportLineOrderKey k2)
compare
in interface Comparator<dk.netarkivet.harvester.harvesting.frontier.FrontierReportLineOrderKey>
public static FrontierReportLineNaturalOrder getInstance()
Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.