Package org.apache.jackrabbit.vault.util
Class DocViewProperty2Comparator
- java.lang.Object
-
- org.apache.jackrabbit.vault.util.DocViewProperty2Comparator
-
- All Implemented Interfaces:
Comparator<DocViewProperty2>
public final class DocViewProperty2Comparator extends Object implements Comparator<DocViewProperty2>
Similar toQNameComparator
but acting onDocViewProperty2
leveraging its name and a given namespace resolver
-
-
Constructor Summary
Constructors Constructor Description DocViewProperty2Comparator(NamespaceResolver nsResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(DocViewProperty2 o1, DocViewProperty2 o2)
-
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 Detail
-
DocViewProperty2Comparator
public DocViewProperty2Comparator(NamespaceResolver nsResolver)
-
-
Method Detail
-
compare
public int compare(DocViewProperty2 o1, DocViewProperty2 o2)
- Specified by:
compare
in interfaceComparator<DocViewProperty2>
-
-