java.lang.Object | +--com.ibm.commerce.order.calculation.CodeComparator
A comparator class for ordering calculation codes. Calculation codes are order by the following:
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The IBM copyright notice field. |
Constructor Summary | |
---|---|
CodeComparator() Constructor for CodeComparator. |
Method Summary | |
---|---|
int |
compare(java.lang.Object aObj1, java.lang.Object aObj2) |
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 |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public CodeComparator()
Method Detail |
---|
public int compare(java.lang.Object aObj1, java.lang.Object aObj2)
compare
in interface
java.util.Comparator
aObj1
- the first calculation code.aObj2
- the second calculation code.Comparator.compare(Object, Object)