com.commsen.stopwatch.util
Class ReportComparator
java.lang.Object
com.commsen.stopwatch.util.ReportComparator
- All Implemented Interfaces:
- java.util.Comparator
public class ReportComparator
- extends java.lang.Object
- implements java.util.Comparator
Method Summary |
int |
compare(java.lang.Object arg0,
java.lang.Object arg1)
|
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 |
GROUP
public static final int GROUP
- See Also:
- Constant Field Values
LABEL
public static final int LABEL
- See Also:
- Constant Field Values
COUNT
public static final int COUNT
- See Also:
- Constant Field Values
TIME_TOTAL
public static final int TIME_TOTAL
- See Also:
- Constant Field Values
TIME_MIN
public static final int TIME_MIN
- See Also:
- Constant Field Values
TIME_MAX
public static final int TIME_MAX
- See Also:
- Constant Field Values
TIME_AVG
public static final int TIME_AVG
- See Also:
- Constant Field Values
ASC
public static final int ASC
- See Also:
- Constant Field Values
DESC
public static final int DESC
- See Also:
- Constant Field Values
BY_GROUP_ASC
public static final ReportComparator BY_GROUP_ASC
BY_GROUP_DESC
public static final ReportComparator BY_GROUP_DESC
BY_LABEL_ASC
public static final ReportComparator BY_LABEL_ASC
BY_LABEL_DESC
public static final ReportComparator BY_LABEL_DESC
BY_COUNT_ASC
public static final ReportComparator BY_COUNT_ASC
BY_COUNT_DESC
public static final ReportComparator BY_COUNT_DESC
BY_MIN_TIME_ASC
public static final ReportComparator BY_MIN_TIME_ASC
BY_MIN_TIME_DESC
public static final ReportComparator BY_MIN_TIME_DESC
BY_MAX_TIME_ASC
public static final ReportComparator BY_MAX_TIME_ASC
BY_MAX_TIME_DESC
public static final ReportComparator BY_MAX_TIME_DESC
BY_AVG_TIME_ASC
public static final ReportComparator BY_AVG_TIME_ASC
BY_AVG_TIME_DESC
public static final ReportComparator BY_AVG_TIME_DESC
BY_TOTAL_TIME_ASC
public static final ReportComparator BY_TOTAL_TIME_ASC
BY_TOTAL_TIME_DESC
public static final ReportComparator BY_TOTAL_TIME_DESC
ReportComparator
public ReportComparator(int fieldCode,
int orderCode)
compare
public int compare(java.lang.Object arg0,
java.lang.Object arg1)
- Specified by:
compare
in interface java.util.Comparator
Copyright © 2006-2008 Commsen International. All Rights Reserved.