Class DiscountComparator
java.lang.Object
com.softslate.commerce.businessobjects.order.DiscountComparator
- All Implemented Interfaces:
Comparator
Comparator class used to sort discounts, based on the discountOrder field.
- 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
-
DiscountComparator
public DiscountComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator
-