Interface Sorter


public interface Sorter
A sorter is an object that applies an order by on a OrderByBuilder for a specific expression.
Since:
1.0.0
Author:
Christian Beikov
  • Method Summary

    Modifier and Type Method Description
    <T extends OrderByBuilder<T>>
    T
    apply​(T sortable, String expression)
    Applies an order by on the given sortable for the given expression.
  • Method Details

    • apply

      <T extends OrderByBuilder<T>> T apply​(T sortable, String expression)
      Applies an order by on the given sortable for the given expression.
      Type Parameters:
      T - The actual type of the sortable
      Parameters:
      sortable - The sortable on which to apply the order by
      expression - The order by expression
      Returns:
      The sortable