Index

A B C D E F G H I N O S T V W 
All Classes and Interfaces|All Packages|Serialized Form

A

add(String) - Method in interface org.bremersee.comparator.ComparatorBuilder
Adds a default comparator for the given field (the value of the field must be comparable).
add(String, boolean, boolean, boolean) - Method in interface org.bremersee.comparator.ComparatorBuilder
Creates and adds a value comparator for the given field name or path to this builder.
add(String, boolean, boolean, boolean, ValueExtractor) - Method in interface org.bremersee.comparator.ComparatorBuilder
Creates and adds a value comparator for the given field name or path to this builder.
add(String, Comparator<?>) - Method in interface org.bremersee.comparator.ComparatorBuilder
Adds the given comparator for the given field name or path to this builder.
add(String, ValueExtractor, Comparator<?>) - Method in interface org.bremersee.comparator.ComparatorBuilder
Adds the given comparator for the given field name or path to this builder.
add(Comparator<?>) - Method in interface org.bremersee.comparator.ComparatorBuilder
Adds the given comparator to this builder.
add(Comparator<?>) - Method in class org.bremersee.comparator.ComparatorBuilder.DefaultComparatorBuilder
 
add(SortOrder) - Method in interface org.bremersee.comparator.ComparatorBuilder
Creates and adds a value comparator for the given field ordering description.
add(SortOrder, ValueExtractor) - Method in interface org.bremersee.comparator.ComparatorBuilder
Creates and adds a value comparator for the given field ordering description.
addAll(Collection<? extends SortOrder>) - Method in interface org.bremersee.comparator.ComparatorBuilder
Creates and adds value comparators for the given field ordering descriptions.
addAll(Collection<? extends SortOrder>, Function<SortOrder, Comparator<?>>) - Method in interface org.bremersee.comparator.ComparatorBuilder
Adds comparators for the given sortOrders ordering descriptions.
addAll(Collection<? extends SortOrder>, ValueExtractor) - Method in interface org.bremersee.comparator.ComparatorBuilder
Creates and adds value comparators for the given field ordering descriptions.
addAll(SortOrders) - Method in interface org.bremersee.comparator.ComparatorBuilder
Creates and adds value comparators for the given field ordering descriptions.
addAll(SortOrders, Function<SortOrder, Comparator<?>>) - Method in interface org.bremersee.comparator.ComparatorBuilder
Add all comparator builder.
addAll(SortOrders, ValueExtractor) - Method in interface org.bremersee.comparator.ComparatorBuilder
Creates and adds value comparators for the given field ordering descriptions.
applyDefaults(Pageable, Boolean, Boolean, Boolean, String...) - Static method in class org.bremersee.comparator.spring.mapper.SortMapper
Apply defaults to page request.
applyDefaults(Sort, Boolean, Boolean, Boolean, String...) - Static method in class org.bremersee.comparator.spring.mapper.SortMapper
Apply defaults to sort.
ASC - Enum constant in enum class org.bremersee.comparator.model.SortOrder.Direction
Asc direction.
ascValue(String) - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties.Builder
Initializes the value for the ascValue attribute.

B

build() - Method in interface org.bremersee.comparator.ComparatorBuilder
Build comparator.
build() - Method in class org.bremersee.comparator.ComparatorBuilder.DefaultComparatorBuilder
 
build() - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties.Builder
builder() - Static method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties
Creates a builder for ImmutableSortOrdersTextProperties.
builder() - Static method in interface org.bremersee.comparator.model.SortOrdersTextProperties
Properties builder.
by(String) - Static method in class org.bremersee.comparator.model.SortOrder
Creates a new sort order for the given field.
by(SortOrder...) - Static method in class org.bremersee.comparator.model.SortOrders
Creates new sort orders with the given orders.

C

caseInsensitiveValue(String) - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties.Builder
Initializes the value for the caseInsensitiveValue attribute.
caseSensitiveValue(String) - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties.Builder
Initializes the value for the caseSensitiveValue attribute.
ComparatorBuilder - Interface in org.bremersee.comparator
The comparator builder.
ComparatorBuilder.DefaultComparatorBuilder - Class in org.bremersee.comparator
The default comparator builder.
ComparatorChain - Class in org.bremersee.comparator
The comparator chain has a list of comparators.
ComparatorChain(List<Comparator>) - Constructor for class org.bremersee.comparator.ComparatorChain
Instantiates a new comparator chain.
ComparatorException - Exception in org.bremersee.comparator
The comparator exception.
ComparatorException(String) - Constructor for exception org.bremersee.comparator.ComparatorException
Instantiates a new comparator exception.
ComparatorException(String, Throwable) - Constructor for exception org.bremersee.comparator.ComparatorException
Instantiates a new comparator exception.
ComparatorJaxbContextDataProvider - Class in org.bremersee.comparator
The comparator jaxb context data provider.
ComparatorJaxbContextDataProvider() - Constructor for class org.bremersee.comparator.ComparatorJaxbContextDataProvider
 
compare(Object, Object) - Method in class org.bremersee.comparator.ComparatorChain
 
compare(Object, Object) - Method in class org.bremersee.comparator.DelegatingComparator
 
compare(Object, Object) - Method in class org.bremersee.comparator.ValueComparator
 
convert(String) - Method in class org.bremersee.comparator.spring.converter.SortOrderConverter
 
convert(String) - Method in class org.bremersee.comparator.spring.converter.SortOrdersConverter
 
copyOf(SortOrdersTextProperties) - Static method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties
Creates an immutable copy of a SortOrdersTextProperties value.
createSortOrder() - Method in class org.bremersee.comparator.model.ObjectFactory
Create sort order.
createSortOrders() - Method in class org.bremersee.comparator.model.ObjectFactory
Create sort orders.

D

DefaultComparatorBuilder() - Constructor for class org.bremersee.comparator.ComparatorBuilder.DefaultComparatorBuilder
 
defaults() - Static method in interface org.bremersee.comparator.model.SortOrdersTextProperties
Defaults sort order(s) text properties.
DefaultValueExtractor - Class in org.bremersee.comparator
The default value extractor supports field names and paths as described in SortOrder.
DefaultValueExtractor() - Constructor for class org.bremersee.comparator.DefaultValueExtractor
Instantiates a new default value extractor that will throw ValueExtractorException, if the given field cannot be found.
DefaultValueExtractor(boolean) - Constructor for class org.bremersee.comparator.DefaultValueExtractor
Instantiates a new default value extractor.
DelegatingComparator - Class in org.bremersee.comparator
The delegating comparator extracts the field value of the specified field name or path and uses the specified comparator for sorting.
DelegatingComparator(String, Comparator<?>) - Constructor for class org.bremersee.comparator.DelegatingComparator
Instantiates a new delegating comparator.
DelegatingComparator(String, ValueExtractor, Comparator<?>) - Constructor for class org.bremersee.comparator.DelegatingComparator
Instantiates a new delegating comparator.
DESC - Enum constant in enum class org.bremersee.comparator.model.SortOrder.Direction
Desc direction.
descValue(String) - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties.Builder
Initializes the value for the descValue attribute.

E

equals(Object) - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties
This instance is equal to all instances of ImmutableSortOrdersTextProperties that have equal attribute values.

F

findField(Class<?>, String) - Method in interface org.bremersee.comparator.ValueExtractor
Find field with the given name of the specified class.
findField(Class<?>, String, Class<?>) - Method in interface org.bremersee.comparator.ValueExtractor
Find the field with the given name of the specified class.
findMethod(Class<?>, String) - Method in interface org.bremersee.comparator.ValueExtractor
Find the method with the given name and no parameters of the specified class.
findMethod(Class<?>, String, Class<?>...) - Method in interface org.bremersee.comparator.ValueExtractor
Find the method with the given name and parameters of the specified class.
findValue(Object, String) - Method in class org.bremersee.comparator.DefaultValueExtractor
 
findValue(Object, String) - Method in interface org.bremersee.comparator.ValueExtractor
Find the value of the given add name or path of the given object.
from(SortOrdersTextProperties) - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties.Builder
Fill a builder with attribute values from the provided SortOrdersTextProperties instance.
fromSort(Sort) - Static method in class org.bremersee.comparator.spring.mapper.SortMapper
Transforms a Sort object into a sort order list.
fromSortOrder(Sort.Order) - Static method in class org.bremersee.comparator.spring.mapper.SortMapper
Transforms a Sort.Order object into a sort order.
fromSortOrdersText(String) - Static method in class org.bremersee.comparator.model.SortOrders
From sort orders text.
fromSortOrdersText(String, SortOrdersTextProperties) - Static method in class org.bremersee.comparator.model.SortOrders
From sort orders text.
fromSortOrderText(String) - Static method in class org.bremersee.comparator.model.SortOrder
From sort order text.
fromSortOrderText(String, SortOrdersTextProperties) - Static method in class org.bremersee.comparator.model.SortOrder
From sort order text.

G

getAscValue() - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties
Gets asc value.
getAscValue() - Method in interface org.bremersee.comparator.model.SortOrdersTextProperties
Gets asc value.
getCaseInsensitiveValue() - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties
Gets case insensitive value.
getCaseInsensitiveValue() - Method in interface org.bremersee.comparator.model.SortOrdersTextProperties
Gets case insensitive value.
getCaseSensitiveValue() - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties
Gets case sensitive value.
getCaseSensitiveValue() - Method in interface org.bremersee.comparator.model.SortOrdersTextProperties
Gets case sensitive value.
getDescValue() - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties
Gets desc value.
getDescValue() - Method in interface org.bremersee.comparator.model.SortOrdersTextProperties
Gets desc value.
getDirectionValue(boolean) - Method in interface org.bremersee.comparator.model.SortOrdersTextProperties
Gets direction value.
getIgnoreCaseValue(boolean) - Method in interface org.bremersee.comparator.model.SortOrdersTextProperties
Gets ignore case value.
getJaxbContextData() - Method in class org.bremersee.comparator.ComparatorJaxbContextDataProvider
 
getNamespace() - Static method in class org.bremersee.comparator.ComparatorJaxbContextDataProvider
Gets namespace.
getNullIsFirstValue() - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties
Gets null is first value.
getNullIsFirstValue() - Method in interface org.bremersee.comparator.model.SortOrdersTextProperties
Gets null is first value.
getNullIsFirstValue(boolean) - Method in interface org.bremersee.comparator.model.SortOrdersTextProperties
Gets null is first value.
getNullIsLastValue() - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties
Gets null is last value.
getNullIsLastValue() - Method in interface org.bremersee.comparator.model.SortOrdersTextProperties
Gets null is last value.
getPossibleMethodNames(String) - Method in interface org.bremersee.comparator.ValueExtractor
Get possible method names of the given field name.
getSortOrderArgsSeparator() - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties
Gets sort order args separator.
getSortOrderArgsSeparator() - Method in interface org.bremersee.comparator.model.SortOrdersTextProperties
Gets sort order args separator.
getSortOrders() - Method in class org.bremersee.comparator.model.SortOrders
Gets the unmodifiable list of sort orders.
getSortOrderSeparator() - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties
Gets sort order separator.
getSortOrderSeparator() - Method in interface org.bremersee.comparator.model.SortOrdersTextProperties
Gets sort order separator.
getSortOrdersText() - Method in class org.bremersee.comparator.model.SortOrders
Creates the sort orders text of this ordering descriptions.
getSortOrdersText(SortOrdersTextProperties) - Method in class org.bremersee.comparator.model.SortOrders
Creates the sort orders text of this ordering descriptions.
getSortOrderText() - Method in class org.bremersee.comparator.model.SortOrder
Creates the sort order text of this ordering description.
getSortOrderText(SortOrdersTextProperties) - Method in class org.bremersee.comparator.model.SortOrder
Creates the sort order text of this ordering description.

H

hashCode() - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties
Computes a hash code from attributes: sortOrderSeparator, sortOrderArgsSeparator, ascValue, descValue, caseInsensitiveValue, caseSensitiveValue, nullIsLastValue, nullIsFirstValue.

I

ImmutableSortOrdersTextProperties - Class in org.bremersee.comparator.model
Immutable implementation of SortOrdersTextProperties.
ImmutableSortOrdersTextProperties.Builder - Class in org.bremersee.comparator.model
Builds instances of type ImmutableSortOrdersTextProperties.
INSENSITIVE - Enum constant in enum class org.bremersee.comparator.model.SortOrder.CaseHandling
Insensitive case handling.
invoke(Field, Object) - Method in interface org.bremersee.comparator.ValueExtractor
Invoke the given field on the given object.
invoke(Method, Object) - Method in interface org.bremersee.comparator.ValueExtractor
Invoke the given method on the given object.
isAsc() - Method in enum class org.bremersee.comparator.model.SortOrder.Direction
Is asc.
isAsc(String) - Method in interface org.bremersee.comparator.model.SortOrdersTextProperties
Is asc boolean.
isCaseIgnored(String) - Method in interface org.bremersee.comparator.model.SortOrdersTextProperties
Is case ignored boolean.
isEmpty() - Method in class org.bremersee.comparator.model.SortOrders
Checks whether the list of sort orders is empty or not.
isIgnoreCase() - Method in enum class org.bremersee.comparator.model.SortOrder.CaseHandling
Is ignore case.
isNullFirst(String) - Method in interface org.bremersee.comparator.model.SortOrdersTextProperties
Is null first boolean.
isNullIsFirst() - Method in enum class org.bremersee.comparator.model.SortOrder.NullHandling
Is null is first.
isSorted() - Method in class org.bremersee.comparator.model.SortOrders
Checks whether this sort orders contains any entries.
isUnsorted() - Method in class org.bremersee.comparator.model.SortOrders
Checks whether this sort orders contains any entries.

N

newInstance() - Static method in interface org.bremersee.comparator.ComparatorBuilder
Creates a new comparator builder.
nullIsFirstValue(String) - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties.Builder
Initializes the value for the nullIsFirstValue attribute.
nullIsLastValue(String) - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties.Builder
Initializes the value for the nullIsLastValue attribute.
NULLS_FIRST - Enum constant in enum class org.bremersee.comparator.model.SortOrder.NullHandling
Nulls first handling.
NULLS_LAST - Enum constant in enum class org.bremersee.comparator.model.SortOrder.NullHandling
Nulls last handling.

O

ObjectFactory - Class in org.bremersee.comparator.model
The xml object factory.
ObjectFactory() - Constructor for class org.bremersee.comparator.model.ObjectFactory
 
org.bremersee.comparator - package org.bremersee.comparator
This package contains general mechanism for comparing and sorting objects.
org.bremersee.comparator.model - package org.bremersee.comparator.model
This package contains the model of the comparator.
org.bremersee.comparator.spring - package org.bremersee.comparator.spring
This package contains the spring framework integration.
org.bremersee.comparator.spring.converter - package org.bremersee.comparator.spring.converter
This package contains converters to parse the string representation of sort order(s).
org.bremersee.comparator.spring.mapper - package org.bremersee.comparator.spring.mapper
This package contains a mapper for converting SortOrder into Spring's Sort and vice versa.

S

SENSITIVE - Enum constant in enum class org.bremersee.comparator.model.SortOrder.CaseHandling
Sensitive case handling.
SortMapper - Class in org.bremersee.comparator.spring.mapper
This mapper provides methods to transform a SortOrder into a Sort object from the Spring framework (spring-data-common) and vice versa.
SortOrder - Class in org.bremersee.comparator.model
This class defines the sort order of a field.
SortOrder() - Constructor for class org.bremersee.comparator.model.SortOrder
Instantiates a new sort order.
SortOrder(String, boolean, boolean, boolean) - Constructor for class org.bremersee.comparator.model.SortOrder
Instantiates a new sort order.
SortOrder.CaseHandling - Enum Class in org.bremersee.comparator.model
The case handling.
SortOrder.Direction - Enum Class in org.bremersee.comparator.model
The direction.
SortOrder.NullHandling - Enum Class in org.bremersee.comparator.model
The null handling.
sortOrderArgsSeparator(String) - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties.Builder
Initializes the value for the sortOrderArgsSeparator attribute.
SortOrderConverter - Class in org.bremersee.comparator.spring.converter
The sort order converter.
SortOrderConverter() - Constructor for class org.bremersee.comparator.spring.converter.SortOrderConverter
Instantiates a new sort order converter.
SortOrderConverter(SortOrdersTextProperties) - Constructor for class org.bremersee.comparator.spring.converter.SortOrderConverter
Instantiates a new sort order converter.
SortOrders - Class in org.bremersee.comparator.model
The list of sort orders.
SortOrders() - Constructor for class org.bremersee.comparator.model.SortOrders
Instantiates an empty list of sort orders.
SortOrders(Collection<? extends SortOrder>) - Constructor for class org.bremersee.comparator.model.SortOrders
Instantiates a new unmodifiable list of sort orders.
SortOrdersConverter - Class in org.bremersee.comparator.spring.converter
The sort orders converter.
SortOrdersConverter() - Constructor for class org.bremersee.comparator.spring.converter.SortOrdersConverter
Instantiates a new sort orders converter.
SortOrdersConverter(SortOrdersTextProperties) - Constructor for class org.bremersee.comparator.spring.converter.SortOrdersConverter
Instantiates a new sort orders converter.
sortOrderSeparator(String) - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties.Builder
Initializes the value for the sortOrderSeparator attribute.
SortOrdersTextProperties - Interface in org.bremersee.comparator.model
The sort order(s) text properties.

T

toSort(List<? extends SortOrder>) - Static method in class org.bremersee.comparator.spring.mapper.SortMapper
Transforms the sort order into a Sort object.
toSort(SortOrders) - Static method in class org.bremersee.comparator.spring.mapper.SortMapper
Transforms sort orders into a Sort object.
toSortOrder(SortOrder) - Static method in class org.bremersee.comparator.spring.mapper.SortMapper
Transforms the sort order into a Sort.Order object.
toSortOrdersText() - Method in class org.bremersee.comparator.model.SortOrders
Deprecated.
toSortOrdersText(SortOrdersTextProperties) - Method in class org.bremersee.comparator.model.SortOrders
toSortOrderText() - Method in class org.bremersee.comparator.model.SortOrder
Deprecated.
toSortOrderText(SortOrdersTextProperties) - Method in class org.bremersee.comparator.model.SortOrder
toString() - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties
Prints the immutable value SortOrdersTextProperties with attribute values.
toString() - Method in class org.bremersee.comparator.model.SortOrder
 
toString() - Method in class org.bremersee.comparator.model.SortOrders
 

V

ValueComparator - Class in org.bremersee.comparator
The value comparator extracts field value of the specified field name or path and uses the specified description (ascending or descending, case sensitive or insensitive and 'null is first') for sorting.
ValueComparator(String, boolean, boolean, boolean) - Constructor for class org.bremersee.comparator.ValueComparator
Instantiates a new value comparator.
ValueComparator(String, boolean, boolean, boolean, ValueExtractor) - Constructor for class org.bremersee.comparator.ValueComparator
Instantiates a new value comparator.
ValueComparator(SortOrder) - Constructor for class org.bremersee.comparator.ValueComparator
Instantiates a new value comparator.
ValueComparator(SortOrder, ValueExtractor) - Constructor for class org.bremersee.comparator.ValueComparator
Instantiates a new value comparator.
ValueExtractor - Interface in org.bremersee.comparator
The value extractor finds the value of a given field name or path by reflection.
ValueExtractorException - Exception in org.bremersee.comparator
The value extractor exception.
ValueExtractorException(String) - Constructor for exception org.bremersee.comparator.ValueExtractorException
Instantiates a new value extractor exception.
ValueExtractorException(String, Throwable) - Constructor for exception org.bremersee.comparator.ValueExtractorException
Instantiates a new value extractor exception.
valueOf(String) - Static method in enum class org.bremersee.comparator.model.SortOrder.CaseHandling
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.bremersee.comparator.model.SortOrder.Direction
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.bremersee.comparator.model.SortOrder.NullHandling
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.bremersee.comparator.model.SortOrder.CaseHandling
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.bremersee.comparator.model.SortOrder.Direction
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.bremersee.comparator.model.SortOrder.NullHandling
Returns an array containing the constants of this enum class, in the order they are declared.

W

with(SortOrder.CaseHandling) - Method in class org.bremersee.comparator.model.SortOrder
With given case handling.
with(SortOrder.Direction) - Method in class org.bremersee.comparator.model.SortOrder
With given direction.
with(SortOrder.NullHandling) - Method in class org.bremersee.comparator.model.SortOrder
With given null handling.
withAscValue(String) - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties
Copy the current immutable object by setting a value for the ascValue attribute.
withCaseInsensitiveValue(String) - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties
Copy the current immutable object by setting a value for the caseInsensitiveValue attribute.
withCaseSensitiveValue(String) - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties
Copy the current immutable object by setting a value for the caseSensitiveValue attribute.
withDescValue(String) - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties
Copy the current immutable object by setting a value for the descValue attribute.
withNullIsFirstValue(String) - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties
Copy the current immutable object by setting a value for the nullIsFirstValue attribute.
withNullIsLastValue(String) - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties
Copy the current immutable object by setting a value for the nullIsLastValue attribute.
withSortOrderArgsSeparator(String) - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties
Copy the current immutable object by setting a value for the sortOrderArgsSeparator attribute.
withSortOrderSeparator(String) - Method in class org.bremersee.comparator.model.ImmutableSortOrdersTextProperties
Copy the current immutable object by setting a value for the sortOrderSeparator attribute.
A B C D E F G H I N O S T V W 
All Classes and Interfaces|All Packages|Serialized Form