Package org.alfresco.repo.virtual.store
Class ReferenceComparator
java.lang.Object
org.alfresco.repo.virtual.store.ReferenceComparator
- All Implemented Interfaces:
Comparator<Reference>
Property value based virtual nodes
Comparator. Compares two virtualized nodes based on an ordered collection of property names. The property with the lower index in the collection of properties is the more significant (with the highest-order) one in the comparison process.- Author:
- Silviu Dinuta
-
Constructor Summary
ConstructorsConstructorDescriptionReferenceComparator(VirtualStore smartStore, List<Pair<QName, Boolean>> sortProps) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ReferenceComparator
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<Reference>
-