Package org.alfresco.repo.virtual.store
Class ReferenceComparator
- java.lang.Object
-
- org.alfresco.repo.virtual.store.ReferenceComparator
-
- All Implemented Interfaces:
java.util.Comparator<Reference>
public class ReferenceComparator extends java.lang.Object implements java.util.Comparator<Reference>
Property value based virtual nodesComparator. 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
Constructors Constructor Description ReferenceComparator(VirtualStore smartStore, java.util.List<org.alfresco.util.Pair<org.alfresco.service.namespace.QName,java.lang.Boolean>> sortProps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(Reference r1, Reference r2)
-
-
-
Constructor Detail
-
ReferenceComparator
public ReferenceComparator(VirtualStore smartStore, java.util.List<org.alfresco.util.Pair<org.alfresco.service.namespace.QName,java.lang.Boolean>> sortProps)
-
-