public interface OrderProviderComparator
OrderProvider
.Modifier and Type | Method and Description |
---|---|
void |
sortArray(java.lang.Object[] items,
OrderProvider orderProvider)
Sort the specified array of items according to their order value,
using the specified
OrderProvider to retrieve an order
if necessary. |
void |
sortList(java.util.List<?> items,
OrderProvider orderProvider)
Sort the specified list of items according to their order value,
using the specified
OrderProvider to retrieve an order
if necessary. |
void sortList(java.util.List<?> items, OrderProvider orderProvider)
OrderProvider
to retrieve an order
if necessary.items
- the items to sortorderProvider
- the order provider to useCollections.sort(java.util.List, java.util.Comparator)
void sortArray(java.lang.Object[] items, OrderProvider orderProvider)
OrderProvider
to retrieve an order
if necessary.items
- the items to sortorderProvider
- the order provider to useArrays.sort(Object[], java.util.Comparator)