Class TreeNode.TreeItemComparator
- java.lang.Object
-
- com.composum.sling.core.pckgmgr.jcrpckg.tree.TreeNode.TreeItemComparator
-
- All Implemented Interfaces:
Comparator<TreeItem>
- Enclosing class:
- TreeNode
public static class TreeNode.TreeItemComparator extends Object implements Comparator<TreeItem>
-
-
Constructor Summary
Constructors Constructor Description TreeItemComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(TreeItem o1, TreeItem 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
-
-
-
-
Method Detail
-
compare
public int compare(TreeItem o1, TreeItem o2)
- Specified by:
compare
in interfaceComparator<TreeItem>
-
-