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, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public Collator getCollator()
public int compare(Node i1, Node i2)
compare
in interface Comparator<Node>
public static NodeComparator getInstance()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.