Class KeywordLengthComparator
java.lang.Object
de.hybris.platform.solrfacetsearch.search.impl.KeywordLengthComparator
- All Implemented Interfaces:
Comparator<SolrFacetSearchKeywordRedirectModel>
public class KeywordLengthComparator
extends Object
implements Comparator<SolrFacetSearchKeywordRedirectModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(SolrFacetSearchKeywordRedirectModel keywordRedirectModel1, SolrFacetSearchKeywordRedirectModel keywordRedirectModel2) Methods 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
-
Constructor Details
-
KeywordLengthComparator
public KeywordLengthComparator()
-
-
Method Details
-
compare
public int compare(SolrFacetSearchKeywordRedirectModel keywordRedirectModel1, SolrFacetSearchKeywordRedirectModel keywordRedirectModel2) - Specified by:
comparein interfaceComparator<SolrFacetSearchKeywordRedirectModel>
-