public class ConstantComparator extends FacetResultsComparator
resultMult
Constructor and Description |
---|
ConstantComparator() |
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 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-2017 Apache Software Foundation. All Rights Reserved.