Class FacetablePropertyFTL.FacetablePropertyFTLComparator
- java.lang.Object
-
- org.alfresco.repo.web.scripts.facet.FacetablePropertyFTL.FacetablePropertyFTLComparator
-
- All Implemented Interfaces:
java.util.Comparator<FacetablePropertyFTL<?>>
- Enclosing class:
- FacetablePropertyFTL<T>
public static class FacetablePropertyFTL.FacetablePropertyFTLComparator extends java.lang.Object implements java.util.Comparator<FacetablePropertyFTL<?>>
In order to give deterministic responses when getting facetable properties, allFacetablePropertyFTL
instances are sorted. This comparator provides the sorting implementation.
-
-
Constructor Summary
Constructors Constructor Description FacetablePropertyFTLComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(FacetablePropertyFTL left, FacetablePropertyFTL right)
-
-
-
Method Detail
-
compare
public int compare(FacetablePropertyFTL left, FacetablePropertyFTL right)
- Specified by:
compare
in interfacejava.util.Comparator<FacetablePropertyFTL<?>>
-
-