public class NodeComparator extends Object implements Comparator<Node>
Constructor and Description |
---|
NodeComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Node o1,
Node o2) |
equals, 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 int compare(Node o1, Node o2)
compare
in interface Comparator<Node>
Licenced under the Apache License, Version 2.0