public class NodeDepthComparator extends Object implements Comparator<Node<?>>
Constructor and Description |
---|
NodeDepthComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Node<?> o1,
Node<?> o2) |
clone, equals, finalize, 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<?>>
Copyright © 1995-2015 Webtide. All Rights Reserved.