public class TreeNodeComparator extends Object implements Comparator<TreeNode>
| Constructor and Description |
|---|
TreeNodeComparator(TreeModel.Grouping grouping)
Create a new comparator using
grouping during comparison. |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(TreeNode node1,
TreeNode node2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic TreeNodeComparator(TreeModel.Grouping grouping)
grouping during comparison.grouping - .public int compare(TreeNode node1, TreeNode node2)
compare in interface Comparator<TreeNode>Copyright © 2006–2017 Esito AS. All rights reserved.