private static class StreetsideLayer.NearestImgToTargetComparator extends Object implements Comparator<StreetsideAbstractImage>
Modifier and Type | Field and Description |
---|---|
private StreetsideAbstractImage |
target |
Constructor and Description |
---|
NearestImgToTargetComparator(StreetsideAbstractImage target) |
Modifier and Type | Method and Description |
---|---|
int |
compare(StreetsideAbstractImage img1,
StreetsideAbstractImage img2) |
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
private final StreetsideAbstractImage target
public NearestImgToTargetComparator(StreetsideAbstractImage target)
public int compare(StreetsideAbstractImage img1, StreetsideAbstractImage img2)
compare
in interface Comparator<StreetsideAbstractImage>