Class DefaultSkuInventoryComparator
java.lang.Object
com.broadleafcommerce.inventory.service.DefaultSkuInventoryComparator
- All Implemented Interfaces:
Comparator<SkuInventory>
Helps with sorting lists of
SkuInventory
objects by ID.- Author:
- Kelly Tisdell (ktisdell)
-
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
-
DefaultSkuInventoryComparator
public DefaultSkuInventoryComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<SkuInventory>
-