public class DelegatingComparator extends FacetResultsComparator
resultMult| Modifier and Type | Method and Description |
|---|---|
int |
compare(SortableFacet.FacetBucket b1,
SortableFacet.FacetBucket b2)
Compare one facet bucket to another.
|
static FacetResultsComparator |
joinComparators(Collection<FacetResultsComparator> comparators) |
setDirectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static FacetResultsComparator joinComparators(Collection<FacetResultsComparator> comparators) throws SolrException
SolrExceptionpublic int compare(SortableFacet.FacetBucket b1, SortableFacet.FacetBucket b2)
FacetResultsComparatorcompare in interface Comparator<SortableFacet.FacetBucket>compare in class FacetResultsComparatorb1 - the first bucket to compareb2 - the second bucket to compareCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.