public class NodeComparator extends Object implements Comparator<Node>
| Modifier and Type | Method and Description | 
|---|---|
| int | compare(Node i1,
       Node i2) | 
| Collator | getCollator()Returns the collator used to perform alphabetic ordering. | 
| static NodeComparator | getInstance()Returns an instance of this class. | 
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 Collator getCollator()
public int compare(Node i1, Node i2)
compare in interface Comparator<Node>public static NodeComparator getInstance()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.