Package org.apache.jackrabbit.vault.util
Class ItemNameComparator2
- java.lang.Object
-
- org.apache.jackrabbit.vault.util.ItemNameComparator2
-
- All Implemented Interfaces:
Comparator<Item>
public class ItemNameComparator2 extends Object implements Comparator<Item>
Orders items by their qualified name by usingQNameComparator
.
-
-
Constructor Summary
Constructors Constructor Description ItemNameComparator2(NamespaceResolver nsResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Item o1, Item 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
-
ItemNameComparator2
public ItemNameComparator2(NamespaceResolver nsResolver)
-
-
Method Detail
-
compare
public int compare(Item o1, Item o2)
- Specified by:
compare
in interfaceComparator<Item>
-
-