Class ShippingOptionComparator
java.lang.Object
com.softslate.commerce.businessobjects.shipping.ShippingOptionComparator
- All Implemented Interfaces:
Comparator
Comparator class used to sort shipping options based on their price, from
lowest to highest.
- Author:
- David Tobey
-
Constructor Summary
-
Method Summary
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ShippingOptionComparator
public ShippingOptionComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator
-