Modifier and Type | Field and Description |
---|---|
protected java.util.Map<Node,java.lang.Integer> |
nodeMap |
Constructor and Description |
---|
NodeComparator(java.util.Map<Node,java.lang.Integer> nodeMap) |
Modifier and Type | Method and Description |
---|---|
int |
compare(Node left,
Node right) |