Interface InMemorySortInfo
- All Superinterfaces:
SortInfo
- All Known Subinterfaces:
InMemoryPropertyDescriptorSortInfo
- All Known Implementing Classes:
InMemoryPropertyDescriptorSortInfoImpl,InMemorySortInfoImpl
Represents sorting information for in-memory sorting operations.
-
Method Summary
Modifier and TypeMethodDescription@Nullable Comparator<?> Retrieves the comparator used for in-memory sorting.voidsetComparator(@Nullable Comparator<?> comparator) Sets the comparator to be used for in-memory sorting.Methods inherited from interface io.jmix.flowui.component.grid.sort.SortInfo
getMetaPropertyPath, getSortKey, isAscending
-
Method Details
-
getComparator
@Nullable Comparator<?> getComparator()Retrieves the comparator used for in-memory sorting.- Returns:
- comparator or
nullif not set
-
setComparator
Sets the comparator to be used for in-memory sorting.- Parameters:
comparator- the comparator to set, ornullto clear the comparator
-