T
- the type of object stored in the leaf.public class DistanceComparator<T extends Leaf<T>> extends Object implements Comparator<T>
Constructor and Description |
---|
DistanceComparator(T point) |
Modifier and Type | Method and Description |
---|---|
int |
compare(T a,
T b) |
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
Copyright © 2015–2021 Fiji. All rights reserved.