public class FacetValueComparator extends FacetResultsComparator
resultMult
Constructor and Description |
---|
FacetValueComparator()
Create a facet value comparator.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(SortableFacet.FacetBucket b1,
SortableFacet.FacetBucket b2)
Compare one facet bucket to another.
|
setDirection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public FacetValueComparator()
public int compare(SortableFacet.FacetBucket b1, SortableFacet.FacetBucket b2)
FacetResultsComparator
compare
in interface Comparator<SortableFacet.FacetBucket>
compare
in class FacetResultsComparator
b1
- the first bucket to compareb2
- the second bucket to compareCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.