A B C D E F G H I 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.

B

build() - Method in interface org.bremersee.comparator.ComparatorBuilder
Build comparator.
build() - Method in class org.bremersee.comparator.ComparatorBuilder.DefaultComparatorBuilder
 
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.

C

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.
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.
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.WellKnownTextConverter
 
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
 
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.

E

equals(Object) - Method in class org.bremersee.comparator.model.ComparatorField
 
equals(Object) - Method in class org.bremersee.comparator.model.ComparatorFields
 

F

findBooleanPart(String, String, int, boolean, String...) - Static method in interface org.bremersee.comparator.WellKnownTextParser
Finds a boolean part of the field description.
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.
findStringPart(String, String, int) - Static method in interface org.bremersee.comparator.WellKnownTextParser
Finds a string part of the field description.
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.
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

getField() - Method in class org.bremersee.comparator.model.ComparatorField
Gets field name or path.
getFields() - Method in class org.bremersee.comparator.model.ComparatorFields
Gets the list of comparator fields.
getPossibleMethodNames(String) - Method in interface org.bremersee.comparator.ValueExtractor
Get possible method names of the given field name.

H

hashCode() - Method in class org.bremersee.comparator.model.ComparatorField
 
hashCode() - Method in class org.bremersee.comparator.model.ComparatorFields
 

I

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.
isIgnoreCase() - Method in class org.bremersee.comparator.model.ComparatorField
Is case insensitive or sensitive order.
isNullIsFirst() - Method in class org.bremersee.comparator.model.ComparatorField
Is null is first.

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
 
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.

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

WellKnownTextConverter - Class in org.bremersee.comparator
The well known text converter.
WellKnownTextConverter() - Constructor for class org.bremersee.comparator.WellKnownTextConverter
Instantiates a new well known text converter.
WellKnownTextConverter(WellKnownTextParser) - Constructor for class org.bremersee.comparator.WellKnownTextConverter
Instantiates a new well known text converter.
WellKnownTextParser - Interface in org.bremersee.comparator
Parses the string representation of a sort order and creates a comparator.
A B C D E F G H I O P T V W 
All Classes All Packages