Uses of Class
org.bremersee.comparator.model.SortOrder
Packages that use SortOrder
Package
Description
This package contains general mechanism for comparing and sorting objects.
This package contains the model of the comparator.
This package contains converters to parse the string representation of sort order(s).
This package contains a mapper for converting
SortOrder
into Spring's Sort and vice versa.-
Uses of SortOrder in org.bremersee.comparator
Methods in org.bremersee.comparator with parameters of type SortOrderModifier and TypeMethodDescriptiondefault ComparatorBuilderCreates 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 SortOrderModifier and TypeMethodDescriptiondefault 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 SortOrderModifierConstructorDescriptionValueComparator(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 SortOrderModifier and TypeMethodDescriptionstatic SortOrderCreates a new sort order for the given field.ObjectFactory.createSortOrder()Create sort order.static SortOrderSortOrder.fromSortOrderText(String source) From sort order text.static SortOrderSortOrder.fromSortOrderText(String source, SortOrdersTextProperties properties) From sort order text.SortOrder.with(SortOrder.CaseHandling caseHandling) With given case handling.SortOrder.with(SortOrder.Direction direction) With given direction.SortOrder.with(SortOrder.NullHandling nullHandling) With given null handling.Methods in org.bremersee.comparator.model that return types with arguments of type SortOrderModifier and TypeMethodDescriptionSortOrders.getSortOrders()Gets the unmodifiable list of sort orders.Methods in org.bremersee.comparator.model with parameters of type SortOrderModifier and TypeMethodDescriptionstatic SortOrdersCreates new sort orders with the given orders.Constructor parameters in org.bremersee.comparator.model with type arguments of type SortOrderModifierConstructorDescriptionSortOrders(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 -
Uses of SortOrder in org.bremersee.comparator.spring.mapper
Methods in org.bremersee.comparator.spring.mapper that return SortOrderModifier and TypeMethodDescriptionstatic 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 SortOrderModifier and TypeMethodDescriptionSortMapper.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 SortOrderModifier and TypeMethodDescriptionstatic 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