public class IndexComparator extends java.lang.Object implements java.util.Comparator<NodeDescriptor<?>>
Modifier and Type | Field and Description |
---|---|
static IndexComparator |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
int |
compare(NodeDescriptor nodeDescriptor1,
NodeDescriptor nodeDescriptor2) |
public static final IndexComparator INSTANCE
public int compare(NodeDescriptor nodeDescriptor1, NodeDescriptor nodeDescriptor2)
compare
in interface java.util.Comparator<NodeDescriptor<?>>