public static class SimpleStar.Distance extends Object implements Comparator<Star>
| Modifier and Type | Field and Description |
|---|---|
private Star |
center
The center to which the distance is calculated.
|
| Constructor and Description |
|---|
Distance(Star middle)
Construct with the center of the catalog query defined as a star.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Star s1,
Star s2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongprivate final Star center
public Distance(Star middle)
public int compare(Star s1, Star s2)
compare in interface Comparator<Star>