Class DefaultTopValuesProvider.FacetValueCountComparator
java.lang.Object
de.hybris.platform.commerceservices.util.AbstractComparator<FacetValue>
de.hybris.platform.commerceservices.search.solrfacetsearch.provider.impl.DefaultTopValuesProvider.FacetValueCountComparator
- All Implemented Interfaces:
Comparator<FacetValue>
- Enclosing class:
- DefaultTopValuesProvider
@Deprecated(since="6.7",
forRemoval=true)
public static class DefaultTopValuesProvider.FacetValueCountComparator
extends AbstractComparator<FacetValue>
Deprecated, for removal: This API element is subject to removal in a future version.
Since 6.7, this is no longer used.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DefaultTopValuesProvider.FacetValueCountComparatorDeprecated, for removal: This API element is subject to removal in a future version.Fields inherited from class de.hybris.platform.commerceservices.util.AbstractComparator
AFTER, BEFORE, EQUAL -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected intcompareInstances(FacetValue facet1, FacetValue facet2) Deprecated, for removal: This API element is subject to removal in a future version.Implement method to perform the comparison.Methods inherited from class de.hybris.platform.commerceservices.util.AbstractComparator
compare, compareValues, compareValues, compareValues, compareValues, compareValues, instanceEqualsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
INSTANCE
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
FacetValueCountComparator
public FacetValueCountComparator()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
compareInstances
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractComparatorImplement method to perform the comparison. The instances passed are different and neither is null.- Specified by:
compareInstancesin classAbstractComparator<FacetValue>- Parameters:
facet1- first instancefacet2- second instance- Returns:
- return one of
AbstractComparator.BEFORE,AbstractComparator.EQUAL, orAbstractComparator.AFTER.
-