de.smartics.exceptions.report.sort
Class CodeComparator
java.lang.Object
de.smartics.exceptions.report.sort.CodeComparator
-
All Implemented Interfaces:
-
Comparator<
ExceptionCodeReportItem>
-
public final class CodeComparator
-
extends
Object
-
implements
Comparator<
ExceptionCodeReportItem>
Compares exception code instances. The instances are ordered by their codes natural ordering.
-
See Also:
-
DefaultCodeComparator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CodeComparator
public CodeComparator()
-
Default constructor.
compare
public int compare(ExceptionCodeReportItem o1,
ExceptionCodeReportItem o2)
-
Uses DefaultCodeComparator
to compare codes.
-
-
Specified by:
-
compare
in interface
Comparator<ExceptionCodeReportItem>
-
-
See Also:
-
Comparator.compare(java.lang.Object, java.lang.Object)
Copyright © 2007-2013
Kronseder & Reiner GmbH - smartics. All Rights Reserved.