com.vaadin.data.provider.

Class Sort

    • Constructor Detail

      • Sort

        public Sort()
    • Method Detail

      • asc

        public static Sort.SortBuilder asc​(String by)

        Creates a new sort builder with given sorting using ascending sort direction.

        Parameters:

        by - the object to sort by

        Returns:

        the sort builder

      • desc

        public static Sort.SortBuilder desc​(String by)

        Creates a new sort builder with given sorting using descending sort direction.

        Parameters:

        by - the object to sort by

        Returns:

        the sort builder