接口 OrderComparator.OrderSourceProvider

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型方法说明
      ObjectgetOrderSource​(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

        Object 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.

        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 null if none found