Class FacetablePropertyFTL.FacetablePropertyFTLComparator
java.lang.Object
org.alfresco.repo.web.scripts.facet.FacetablePropertyFTL.FacetablePropertyFTLComparator
- All Implemented Interfaces:
Comparator<FacetablePropertyFTL<?>>
- Enclosing class:
- FacetablePropertyFTL<T>
public static class FacetablePropertyFTL.FacetablePropertyFTLComparator
extends Object
implements Comparator<FacetablePropertyFTL<?>>
In order to give deterministic responses when getting facetable properties,
all
FacetablePropertyFTL
instances are sorted. This comparator provides
the sorting implementation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(FacetablePropertyFTL left, FacetablePropertyFTL right) 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
-
Constructor Details
-
FacetablePropertyFTLComparator
public FacetablePropertyFTLComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<FacetablePropertyFTL<?>>
-