public static class AggregateCallInfo.GenericComparator extends Object implements Comparator<AggregateCallInfo>
Modifier and Type | Field and Description |
---|---|
static int |
AVERAGE |
static int |
COUNT |
static int |
HIGH |
static int |
LOW |
static int |
TOTAL |
static int |
URI |
Constructor and Description |
---|
GenericComparator(String pKey,
int pType)
Construct a comparator which compares AggregateCallInfo instances
with the key pKey, sorting on the pType field.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(AggregateCallInfo a,
AggregateCallInfo b) |
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 static final int HIGH
public static final int LOW
public static final int AVERAGE
public static final int COUNT
public static final int TOTAL
public static final int URI
public GenericComparator(String pKey, int pType)
pType
- an integer with one of the values HIGH, LOW, AVERAGE, COUNT or TOTAL.public int compare(AggregateCallInfo a, AggregateCallInfo b)
compare
in interface Comparator<AggregateCallInfo>
© 1998- 2021 Escenic AS