public static class FacetCollector.FacetEntryComparator extends Object implements Comparator<Map.Entry<String,org.hibernate.search.query.collector.impl.FacetCollector.IntegerWrapper>>, Serializable
Constructor and Description |
---|
FacetEntryComparator(FacetSortOrder sortOrder) |
Modifier and Type | Method and Description |
---|---|
int |
compare(Map.Entry<String,org.hibernate.search.query.collector.impl.FacetCollector.IntegerWrapper> entry1,
Map.Entry<String,org.hibernate.search.query.collector.impl.FacetCollector.IntegerWrapper> entry2) |
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 FacetEntryComparator(FacetSortOrder sortOrder)
public int compare(Map.Entry<String,org.hibernate.search.query.collector.impl.FacetCollector.IntegerWrapper> entry1, Map.Entry<String,org.hibernate.search.query.collector.impl.FacetCollector.IntegerWrapper> entry2)
compare
in interface Comparator<Map.Entry<String,org.hibernate.search.query.collector.impl.FacetCollector.IntegerWrapper>>
Copyright © 2006–2016 Hibernate. All rights reserved.