We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.data.provider.
Package com.vaadin.flow.data.provider
Class SortOrder<T>
java.lang.Object
com.vaadin.flow.data.provider.SortOrder<T>
Type Parameters:
T
- the type of the sorting information, usually a String (field id)
or a Comparator
.
All Implemented Interfaces:
Direct Known Subclasses:
Sorting information for one field.
Since:
1.0
See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSortOrder
(T sorted, SortDirection direction) Constructs a field sorting information.
-
Method Summary
Modifier and TypeMethodDescriptionSorting direction.
Sorting information.
-
Constructor Details
-
SortOrder
Constructs a field sorting information.
Parameters:
sorted
- sorting information, usually field id orComparator
direction
- sorting direction
-
-
Method Details
-
getSorted
Sorting information.
Returns:
sorting entity, usually field id or
Comparator
-
getDirection
Sorting direction.
Returns:
sorting direction
-