de.smartics.exceptions.report.sort
Class CodeComparator
java.lang.Object
de.smartics.exceptions.report.sort.CodeComparator
-
All Implemented Interfaces:
-
Comparator<
CodeUtils.CodeContainer>
-
public class CodeComparator
-
extends
Object
-
implements
Comparator<
CodeUtils.CodeContainer>
Compares exception code instances. The instances are ordered by their codes natural ordering.
-
Author:
-
Robert Reiner
-
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(CodeUtils.CodeContainer o1,
CodeUtils.CodeContainer o2)
-
Uses DefaultCodeComparator
to compare codes.
-
-
Specified by:
-
compare
in interface
Comparator<CodeUtils.CodeContainer>
-
-
See Also:
-
Comparator.compare(java.lang.Object, java.lang.Object)
Copyright © 2007-null
Kronseder & Reiner GmbH - smartics. All Rights Reserved.