public class SimpleDistanceComparator extends Object implements Comparator<TransparencySortGeom>
Constructor and Description |
---|
SimpleDistanceComparator()
Creates a new instance of SimpleDistanceComparator
|
Modifier and Type | Method and Description |
---|---|
int |
compare(TransparencySortGeom t1,
TransparencySortGeom t2)
Compares its two arguments for order.
|
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 SimpleDistanceComparator()
public int compare(TransparencySortGeom t1, TransparencySortGeom t2)
compare
in interface Comparator<TransparencySortGeom>
t1
- TransparencySortGeom object 1t2
- TransparencySortGeom object 2Copyright © 2016–2022 SciJava. All rights reserved.