| Package | Description |
|---|---|
| org.bremersee.comparator |
This package contains general mechanism for comparing and sorting objects.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
ComparatorBuilder.DefaultComparatorBuilder
The default comparator builder.
|
| Modifier and Type | Method and Description |
|---|---|
default ComparatorBuilder |
ComparatorBuilder.add(Comparator<?> comparator)
Adds the given comparator to this builder.
|
default ComparatorBuilder |
ComparatorBuilder.add(ComparatorField field)
Creates and adds a value comparator for the given field ordering description.
|
default ComparatorBuilder |
ComparatorBuilder.add(ComparatorField field,
ValueExtractor valueExtractor)
Creates and adds a value comparator for the given field ordering description.
|
default ComparatorBuilder |
ComparatorBuilder.add(String field,
boolean asc,
boolean ignoreCase,
boolean nullIsFirst)
Creates and adds a value comparator for the given field name or path to this builder.
|
ComparatorBuilder |
ComparatorBuilder.add(String field,
boolean asc,
boolean ignoreCase,
boolean nullIsFirst,
ValueExtractor valueExtractor)
Creates and adds a value comparator for the given field name or path to this builder.
|
ComparatorBuilder |
ComparatorBuilder.DefaultComparatorBuilder.add(String field,
boolean asc,
boolean ignoreCase,
boolean nullIsFirst,
ValueExtractor valueExtractor) |
default ComparatorBuilder |
ComparatorBuilder.add(String field,
Comparator<?> comparator)
Adds the given comparator for the given field name or path to this builder.
|
ComparatorBuilder |
ComparatorBuilder.add(String field,
ValueExtractor valueExtractor,
Comparator<?> comparator)
Adds the given comparator for the given field name or path to this builder.
|
ComparatorBuilder |
ComparatorBuilder.DefaultComparatorBuilder.add(String field,
ValueExtractor valueExtractor,
Comparator<?> comparator) |
default ComparatorBuilder |
ComparatorBuilder.addAll(Collection<? extends ComparatorField> fields)
Creates and adds value comparators for the given field ordering descriptions.
|
default ComparatorBuilder |
ComparatorBuilder.addAll(Collection<? extends ComparatorField> fields,
ValueExtractor valueExtractor)
Creates and adds value comparators for the given field ordering descriptions.
|
default ComparatorBuilder |
ComparatorBuilder.addAll(ComparatorFields comparatorFields)
Creates and adds value comparators for the given field ordering descriptions.
|
default ComparatorBuilder |
ComparatorBuilder.addAll(ComparatorFields comparatorFields,
ValueExtractor valueExtractor)
Creates and adds value comparators for the given field ordering descriptions.
|
static ComparatorBuilder |
ComparatorBuilder.builder()
Creates a new comparator builder.
|
default ComparatorBuilder |
ComparatorBuilder.fromWellKnownText(String wkt)
Creates and adds value comparators for the given well known text description (see
ComparatorField.toWkt(), ComparatorFields.toWkt() and WellKnownTextParser). |
ComparatorBuilder |
ComparatorBuilder.fromWellKnownText(String wkt,
WellKnownTextParser wktParser)
Creates and adds value comparators for the given well known text description (see
ComparatorField.toWkt(), ComparatorFields.toWkt() and WellKnownTextParser). |
ComparatorBuilder |
ComparatorBuilder.DefaultComparatorBuilder.fromWellKnownText(String wkt,
WellKnownTextParser wktParser) |
Copyright © 2019 bremersee.org. All rights reserved.