A B C D E F G H I N O P T V W 
All Classes All Packages

A

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, boolean, boolean, boolean, ValueExtractor) - Method in class org.bremersee.comparator.ComparatorBuilder.DefaultComparatorBuilder
 
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(String, ValueExtractor, Comparator<?>) - Method in class org.bremersee.comparator.ComparatorBuilder.DefaultComparatorBuilder
 
add(Comparator<?>) - Method in interface org.bremersee.comparator.ComparatorBuilder
Adds the given comparator to this builder.
add(ComparatorField) - Method in interface org.bremersee.comparator.ComparatorBuilder
Creates and adds a value comparator for the given field ordering description.
add(ComparatorField, ValueExtractor) - Method in interface org.bremersee.comparator.ComparatorBuilder
Creates and adds a value comparator for the given field ordering description.
addAll(Collection<? extends ComparatorField>) - Method in interface org.bremersee.comparator.ComparatorBuilder
Creates and adds value comparators for the given field ordering descriptions.
addAll(Collection<? extends ComparatorField>, ValueExtractor) - Method in interface org.bremersee.comparator.ComparatorBuilder
Creates and adds value comparators for the given field ordering descriptions.
addAll(ComparatorFields) - Method in interface org.bremersee.comparator.ComparatorBuilder
Creates and adds value comparators for the given field ordering descriptions.
addAll(ComparatorFields, ValueExtractor) - Method in interface org.bremersee.comparator.ComparatorBuilder
Creates and adds value comparators for the given field ordering descriptions.
apply(ComparatorField) - Method in interface org.bremersee.comparator.WellKnownTextParser
Creates the comparator for the given field.
apply(ComparatorField) - Method in class org.bremersee.comparator.WellKnownTextParser.Impl
 
ascValue(String) - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties.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.ImmutableWellKnownTextProperties.Builder
buildComparatorField(String) - Method in interface org.bremersee.comparator.WellKnownTextParser
Builds a comparator field from the string representation of a sort order (must be a single field, not a path).
buildComparatorFields(String) - Method in interface org.bremersee.comparator.WellKnownTextParser
Builds a list of comparator fields from the string representation of a sort order.
builder() - Static method in interface org.bremersee.comparator.ComparatorBuilder
Creates a new comparator builder.
builder() - Static method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties
Creates a builder for ImmutableWellKnownTextProperties.
builder() - Static method in interface org.bremersee.comparator.model.WellKnownTextProperties
Properties builder.

C

caseInsensitiveValue(String) - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties.Builder
Initializes the value for the caseInsensitiveValue attribute.
caseSensitiveValue(String) - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties.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.
ComparatorField - Class in org.bremersee.comparator.model
This class defines the sort order of a field.
ComparatorField() - Constructor for class org.bremersee.comparator.model.ComparatorField
Instantiates a new comparator field.
ComparatorField(String, boolean, boolean, boolean) - Constructor for class org.bremersee.comparator.model.ComparatorField
Instantiates a new comparator field.
ComparatorFieldConverter - Class in org.bremersee.comparator
The comparator field converter.
ComparatorFieldConverter() - Constructor for class org.bremersee.comparator.ComparatorFieldConverter
Instantiates a new Comparator field converter.
ComparatorFieldConverter(WellKnownTextProperties) - Constructor for class org.bremersee.comparator.ComparatorFieldConverter
Instantiates a new Comparator field converter.
ComparatorFieldConverter(WellKnownTextParser) - Constructor for class org.bremersee.comparator.ComparatorFieldConverter
Instantiates a new Comparator field converter.
ComparatorFields - Class in org.bremersee.comparator.model
The list of comparator fields.
ComparatorFields() - Constructor for class org.bremersee.comparator.model.ComparatorFields
Instantiates a new list of comparator fields.
ComparatorFields(Collection<? extends ComparatorField>) - Constructor for class org.bremersee.comparator.model.ComparatorFields
Instantiates a new list of comparator fields.
ComparatorFieldsConverter - Class in org.bremersee.comparator
The comparator fields converter.
ComparatorFieldsConverter() - Constructor for class org.bremersee.comparator.ComparatorFieldsConverter
Instantiates a new Comparator fields converter.
ComparatorFieldsConverter(WellKnownTextProperties) - Constructor for class org.bremersee.comparator.ComparatorFieldsConverter
Instantiates a new Comparator fields converter.
ComparatorFieldsConverter(WellKnownTextParser) - Constructor for class org.bremersee.comparator.ComparatorFieldsConverter
Instantiates a new Comparator fields converter.
ComparatorSpringUtils - Class in org.bremersee.comparator.spring
This utility class provides methods to transform a ComparatorField into a Sort object from the Spring framework (spring-data-common) and vice versa.
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.ComparatorFieldConverter
 
convert(String) - Method in class org.bremersee.comparator.ComparatorFieldsConverter
 
copyOf(WellKnownTextProperties) - Static method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties
Creates an immutable copy of a WellKnownTextProperties value.
createComparatorField() - Method in class org.bremersee.comparator.model.ObjectFactory
Create comparator field.
createComparatorFields() - Method in class org.bremersee.comparator.model.ObjectFactory
Create comparator fields.

D

DefaultComparatorBuilder() - Constructor for class org.bremersee.comparator.ComparatorBuilder.DefaultComparatorBuilder
 
defaults() - Static method in interface org.bremersee.comparator.model.WellKnownTextProperties
Defaults well known text properties.
DefaultValueExtractor - Class in org.bremersee.comparator
The default value extractor supports field names and paths as described in ComparatorField*.
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.
descValue(String) - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties.Builder
Initializes the value for the descValue attribute.

E

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

F

fieldArgsSeparator(String) - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties.Builder
Initializes the value for the fieldArgsSeparator attribute.
fieldSeparator(String) - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties.Builder
Initializes the value for the fieldSeparator attribute.
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(WellKnownTextProperties) - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties.Builder
Fill a builder with attribute values from the provided WellKnownTextProperties instance.
fromSort(Sort) - Static method in class org.bremersee.comparator.spring.ComparatorSpringUtils
Transforms a Sort object into a comparator field list.
fromSortOrder(Sort.Order) - Static method in class org.bremersee.comparator.spring.ComparatorSpringUtils
Transforms a Sort.Order object into a comparator field.
fromWellKnownText(String) - Method in interface org.bremersee.comparator.ComparatorBuilder
Creates and adds value comparators for the given well known text description (see ComparatorField.toWkt()*, ComparatorFields.toWkt() and WellKnownTextParser).
fromWellKnownText(String, WellKnownTextParser) - Method in class org.bremersee.comparator.ComparatorBuilder.DefaultComparatorBuilder
 
fromWellKnownText(String, WellKnownTextParser) - Method in interface org.bremersee.comparator.ComparatorBuilder
Creates and adds value comparators for the given well known text description (see ComparatorField.toWkt()*, ComparatorFields.toWkt() and WellKnownTextParser).

G

getAscValue() - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties
Gets asc value.
getAscValue() - Method in interface org.bremersee.comparator.model.WellKnownTextProperties
Gets asc value.
getCaseInsensitiveValue() - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties
Gets case insensitive value.
getCaseInsensitiveValue() - Method in interface org.bremersee.comparator.model.WellKnownTextProperties
Gets case insensitive value.
getCaseSensitiveValue() - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties
Gets case sensitive value.
getCaseSensitiveValue() - Method in interface org.bremersee.comparator.model.WellKnownTextProperties
Gets case sensitive value.
getDescValue() - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties
Gets desc value.
getDescValue() - Method in interface org.bremersee.comparator.model.WellKnownTextProperties
Gets desc value.
getDirectionValue(boolean) - Method in interface org.bremersee.comparator.model.WellKnownTextProperties
Gets direction value.
getField() - Method in class org.bremersee.comparator.model.ComparatorField
Gets field name or path.
getFieldArgsSeparator() - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties
Gets field args separator.
getFieldArgsSeparator() - Method in interface org.bremersee.comparator.model.WellKnownTextProperties
Gets field args separator.
getFields() - Method in class org.bremersee.comparator.model.ComparatorFields
Gets the list of comparator fields.
getFieldSeparator() - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties
Gets field separator.
getFieldSeparator() - Method in interface org.bremersee.comparator.model.WellKnownTextProperties
Gets field separator.
getIgnoreCaseValue(boolean) - Method in interface org.bremersee.comparator.model.WellKnownTextProperties
Gets ignore case value.
getNullIsFirstValue() - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties
Gets null is first value.
getNullIsFirstValue() - Method in interface org.bremersee.comparator.model.WellKnownTextProperties
Gets null is first value.
getNullIsFirstValue(boolean) - Method in interface org.bremersee.comparator.model.WellKnownTextProperties
Gets null is first value.
getNullIsLastValue() - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties
Gets null is last value.
getNullIsLastValue() - Method in interface org.bremersee.comparator.model.WellKnownTextProperties
Gets null is last value.
getPossibleMethodNames(String) - Method in interface org.bremersee.comparator.ValueExtractor
Get possible method names of the given field name.
getProperties() - Method in interface org.bremersee.comparator.WellKnownTextParser
Gets properties.
getProperties() - Method in class org.bremersee.comparator.WellKnownTextParser.Impl
 

H

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

I

ImmutableWellKnownTextProperties - Class in org.bremersee.comparator.model
Immutable implementation of WellKnownTextProperties.
ImmutableWellKnownTextProperties.Builder - Class in org.bremersee.comparator.model
Builds instances of type ImmutableWellKnownTextProperties.
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 class org.bremersee.comparator.model.ComparatorField
Is ascending or descending order.
isAsc(String) - Method in interface org.bremersee.comparator.model.WellKnownTextProperties
Is asc boolean.
isCaseIgnored(String) - Method in interface org.bremersee.comparator.model.WellKnownTextProperties
Is case ignored boolean.
isIgnoreCase() - Method in class org.bremersee.comparator.model.ComparatorField
Is case insensitive or sensitive order.
isNullFirst(String) - Method in interface org.bremersee.comparator.model.WellKnownTextProperties
Is null first boolean.
isNullIsFirst() - Method in class org.bremersee.comparator.model.ComparatorField
Is null is first.

N

newInstance(Function<ComparatorField, Comparator>) - Static method in interface org.bremersee.comparator.WellKnownTextParser
New instance well known text parser.
newInstance(Function<ComparatorField, Comparator>, WellKnownTextProperties) - Static method in interface org.bremersee.comparator.WellKnownTextParser
New instance well known text parser.
nullIsFirstValue(String) - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties.Builder
Initializes the value for the nullIsFirstValue attribute.
nullIsLastValue(String) - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties.Builder
Initializes the value for the nullIsLastValue attribute.

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.

P

parse(String) - Method in interface org.bremersee.comparator.WellKnownTextParser
Parses the string representation of a sort order and creates a comparator.

T

toSort(Collection<? extends ComparatorField>) - Static method in class org.bremersee.comparator.spring.ComparatorSpringUtils
Transforms the comparator field into a Sort object.
toSortOrder(ComparatorField) - Static method in class org.bremersee.comparator.spring.ComparatorSpringUtils
Transforms the comparator field into a Sort.Order object.
toString() - Method in class org.bremersee.comparator.model.ComparatorField
 
toString() - Method in class org.bremersee.comparator.model.ComparatorFields
 
toString() - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties
Prints the immutable value WellKnownTextProperties with attribute values.
toWkt() - Method in class org.bremersee.comparator.model.ComparatorField
Creates the well known text of this field ordering description.
toWkt() - Method in class org.bremersee.comparator.model.ComparatorFields
Creates the well known text of this list of field ordering descriptions.
toWkt(WellKnownTextProperties) - Method in class org.bremersee.comparator.model.ComparatorField
Creates the well known text of this field ordering description.
toWkt(WellKnownTextProperties) - Method in class org.bremersee.comparator.model.ComparatorFields
Creates the well known text of this list of field ordering descriptions.

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(ComparatorField) - Constructor for class org.bremersee.comparator.ValueComparator
Instantiates a new value comparator.
ValueComparator(ComparatorField, 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.

W

WellKnownTextParser - Interface in org.bremersee.comparator
Parses the string representation of a sort order and creates a comparator.
WellKnownTextParser.Impl - Class in org.bremersee.comparator
An implementation.
WellKnownTextProperties - Interface in org.bremersee.comparator.model
The well known text properties.
withAscValue(String) - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties
Copy the current immutable object by setting a value for the ascValue attribute.
withCaseInsensitiveValue(String) - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties
Copy the current immutable object by setting a value for the caseInsensitiveValue attribute.
withCaseSensitiveValue(String) - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties
Copy the current immutable object by setting a value for the caseSensitiveValue attribute.
withDescValue(String) - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties
Copy the current immutable object by setting a value for the descValue attribute.
withFieldArgsSeparator(String) - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties
Copy the current immutable object by setting a value for the fieldArgsSeparator attribute.
withFieldSeparator(String) - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties
Copy the current immutable object by setting a value for the fieldSeparator attribute.
withNullIsFirstValue(String) - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties
Copy the current immutable object by setting a value for the nullIsFirstValue attribute.
withNullIsLastValue(String) - Method in class org.bremersee.comparator.model.ImmutableWellKnownTextProperties
Copy the current immutable object by setting a value for the nullIsLastValue attribute.
A B C D E F G H I N O P T V W 
All Classes All Packages