Uses of Class
org.bremersee.comparator.model.SortOrder
-
Packages that use SortOrder Package Description org.bremersee.comparator This package contains general mechanism for comparing and sorting objects.org.bremersee.comparator.model This package contains the model of the comparator.org.bremersee.comparator.spring.converter This package contains converters to parse the string representation of sort order(s).org.bremersee.comparator.spring.mapper This package contains a mapper for convertingSortOrderinto Spring'sSortand vice versa. -
-
Uses of SortOrder in org.bremersee.comparator
Methods in org.bremersee.comparator with parameters of type SortOrder Modifier and Type Method Description default ComparatorBuilderComparatorBuilder. add(SortOrder field)Creates and adds a value comparator for the given field ordering description.default ComparatorBuilderComparatorBuilder. add(SortOrder field, ValueExtractor valueExtractor)Creates and adds a value comparator for the given field ordering description.Method parameters in org.bremersee.comparator with type arguments of type SortOrder Modifier and Type Method Description default ComparatorBuilderComparatorBuilder. addAll(Collection<? extends SortOrder> sortOrders)Creates and adds value comparators for the given field ordering descriptions.default ComparatorBuilderComparatorBuilder. addAll(Collection<? extends SortOrder> sortOrders, Function<SortOrder,Comparator<?>> comparatorFunction)Adds comparators for the given sortOrders ordering descriptions.default ComparatorBuilderComparatorBuilder. addAll(Collection<? extends SortOrder> sortOrders, Function<SortOrder,Comparator<?>> comparatorFunction)Adds comparators for the given sortOrders ordering descriptions.default ComparatorBuilderComparatorBuilder. addAll(Collection<? extends SortOrder> sortOrders, ValueExtractor valueExtractor)Creates and adds value comparators for the given field ordering descriptions.default ComparatorBuilderComparatorBuilder. addAll(SortOrders sortOrders, Function<SortOrder,Comparator<?>> comparatorFunction)Add all comparator builder.Constructors in org.bremersee.comparator with parameters of type SortOrder Constructor Description ValueComparator(SortOrder sortOrder)Instantiates a new value comparator.ValueComparator(SortOrder sortOrder, ValueExtractor valueExtractor)Instantiates a new value comparator. -
Uses of SortOrder in org.bremersee.comparator.model
Methods in org.bremersee.comparator.model that return SortOrder Modifier and Type Method Description static SortOrderSortOrder. by(String field)Creates a new sort order for the given field.SortOrderObjectFactory. createSortOrder()Create sort order.static SortOrderSortOrder. fromSortOrderText(String source)From sort order text.static SortOrderSortOrder. fromSortOrderText(String source, SortOrdersTextProperties properties)From sort order text.SortOrderSortOrder. with(SortOrder.CaseHandling caseHandling)With given case handling.SortOrderSortOrder. with(SortOrder.Direction direction)With given direction.SortOrderSortOrder. with(SortOrder.NullHandling nullHandling)With given null handling.Methods in org.bremersee.comparator.model that return types with arguments of type SortOrder Modifier and Type Method Description List<SortOrder>SortOrders. getSortOrders()Gets the unmodifiable list of sort orders.Methods in org.bremersee.comparator.model with parameters of type SortOrder Modifier and Type Method Description static SortOrdersSortOrders. by(SortOrder... sortOrders)Creates new sort orders with the given orders.Constructor parameters in org.bremersee.comparator.model with type arguments of type SortOrder Constructor Description SortOrders(Collection<? extends SortOrder> sortOrders)Instantiates a new unmodifiable list of sort orders. -
Uses of SortOrder in org.bremersee.comparator.spring.converter
Methods in org.bremersee.comparator.spring.converter that return SortOrder Modifier and Type Method Description SortOrderSortOrderConverter. convert(String source) -
Uses of SortOrder in org.bremersee.comparator.spring.mapper
Methods in org.bremersee.comparator.spring.mapper that return SortOrder Modifier and Type Method Description static SortOrderSortMapper. fromSortOrder(org.springframework.data.domain.Sort.Order sortOrder)Transforms aSort.Orderobject into a sort order.Methods in org.bremersee.comparator.spring.mapper that return types with arguments of type SortOrder Modifier and Type Method Description static List<SortOrder>SortMapper. fromSort(org.springframework.data.domain.Sort sort)Transforms aSortobject into a sort order list.Methods in org.bremersee.comparator.spring.mapper with parameters of type SortOrder Modifier and Type Method Description static org.springframework.data.domain.Sort.OrderSortMapper. toSortOrder(SortOrder sortOrder)Transforms the sort order into aSort.Orderobject.Method parameters in org.bremersee.comparator.spring.mapper with type arguments of type SortOrder Modifier and Type Method Description static org.springframework.data.domain.SortSortMapper. toSort(List<? extends SortOrder> sortOrders)Transforms the sort order into aSortobject.
-