Package org.bremersee.comparator
This package contains general mechanism for comparing and sorting objects.
- Author:
- Christian Bremer
-
Interface Summary Interface Description ComparatorBuilder The comparator builder.ValueExtractor The value extractor finds the value of a given field name or path by reflection.WellKnownTextParser Parses the string representation of a sort order and creates a comparator. -
Class Summary Class Description ComparatorBuilder.DefaultComparatorBuilder The default comparator builder.ComparatorChain The comparator chain has a list of comparators.ComparatorFieldConverter The comparator field converter.ComparatorFieldsConverter The comparator fields converter.DefaultValueExtractor The default value extractor supports field names and paths as described inComparatorField*.DelegatingComparator The delegating comparator extracts the field value of the specified field name or path and uses the specified comparator for sorting.ValueComparator 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.WellKnownTextParser.Impl An implementation. -
Exception Summary Exception Description ComparatorException The comparator exception.ValueExtractorException The value extractor exception.