public class NodeComparator extends java.lang.Object implements java.util.Comparator<Node>
Modifier and Type | Method and Description |
---|---|
int |
compare(Node i1,
Node i2) |
java.text.Collator |
getCollator()
Returns the collator used to perform alphabetic ordering.
|
static NodeComparator |
getInstance()
Returns an instance of this class.
|
public java.text.Collator getCollator()
public int compare(Node i1, Node i2)
compare
in interface java.util.Comparator<Node>
public static NodeComparator getInstance()