com.ibm.commerce.fulfillment.commands
Class ShippingArrangementPrecedenceQuickSortCompare
java.lang.Object
com.ibm.commerce.fulfillment.commands.ShippingArrangementPrecedenceQuickSortCompare
- All Implemented Interfaces:
- QuickSortCompare
- public final class ShippingArrangementPrecedenceQuickSortCompare
- extends java.lang.Object
- implements QuickSortCompare
This class is a quick sort comparison to sort the Shipping Arrangement precedence
Field Summary |
static java.lang.String |
COPYRIGHT
Copyright statement |
Method Summary |
int |
compare(java.lang.Object ffcPrecendence1, java.lang.Object ffcPrecendence2)
The comparison method for the quick sort |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- Copyright statement
- See Also:
- Constant Field Values
ShippingArrangementPrecedenceQuickSortCompare
public ShippingArrangementPrecedenceQuickSortCompare()
- Default ShippingArrangementPrecedenceQuickSortCompare constructor. Does nothing.
compare
public int compare(java.lang.Object ffcPrecendence1,
java.lang.Object ffcPrecendence2)
- The comparison method for the quick sort
-
- Specified by:
- compare in interface QuickSortCompare
-
- Parameters:
- ffcPrecendence1 - the first item to compare
- ffcPrecendence2 - the second item to compare
- Returns:
- -1 if the first parm is less than the 2nd param, 1 if the first param is greater than the second param, 0 if the params are the same
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.