@FunctionalInterface public static interface OrderComparator.OrderSourceProvider
Modifier and Type | Method and Description |
---|---|
Object |
getOrderSource(Object obj)
Return an order source for the specified object, i.e.
|
@Nullable Object getOrderSource(Object obj)
Can also be an array of order source objects.
If the returned object does not indicate any order, the comparator will fall back to checking the original object.
obj
- the object to find an order source fornull
if none found