Interface Sortable

All Known Implementing Classes:
AbstractQuerier

public interface Sortable
可排序的
Author:
wangliang181230
  • Method Details

    • getSortParams

      SortParam[] getSortParams()
      Gets sort params.
      Returns:
      the sort params
    • setSortParams

      void setSortParams(SortParam... sortParams)
      Sets sort params.
      Parameters:
      sortParams - the sort params
    • hasSortParams

      default boolean hasSortParams()
      Has sort params.
      Returns:
      the boolean
    • isNeedSort

      default boolean isNeedSort(List<?> dataList)
      Is need sort.
      Parameters:
      dataList - the data list
      Returns:
      the boolean