接口 OrderSourceProvider
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
Strategy interface to provide an order source for a given object.
- 从以下版本开始:
- 4.0
- 作者:
- TODAY 2021/9/12 11:34
-
方法概要
修饰符和类型方法说明getOrderSource(Object obj) Return an order source for the specified object, i.e. an object that should be checked for an order value as a replacement to the given object.
-
方法详细资料
-
getOrderSource
Return an order source for the specified object, i.e. an object that should be checked for an order value as a replacement to the given object.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 for- 返回:
- the order source for that object, or
nullif none found
-