Class FacetConfigOrder
- java.lang.Object
-
- com.funnelback.publicui.search.model.transaction.facet.order.FacetConfigOrder
-
- All Implemented Interfaces:
Comparator<Facet.CategoryValue>
public class FacetConfigOrder extends Object implements Comparator<Facet.CategoryValue>
Leaves the order of categories as they are, which should be the order in which they appear in the facet config.
-
-
Constructor Summary
Constructors Constructor Description FacetConfigOrder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Facet.CategoryValue c1, Facet.CategoryValue c2)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(Facet.CategoryValue c1, Facet.CategoryValue c2)
- Specified by:
compare
in interfaceComparator<Facet.CategoryValue>
-
-