public class NodeComparator
extends java.lang.Object
implements java.util.Comparator
Constructor and Description |
---|
NodeComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2) |
java.text.Collator |
getCollator()
Returns the collator used to perform alphabetic ordering.
|
static NodeComparator |
getInstance()
Returns an instance of this class.
|
public static NodeComparator getInstance()
public java.text.Collator getCollator()
public int compare(java.lang.Object o1, java.lang.Object o2)
compare
in interface java.util.Comparator
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.