public static class Geometrie.Point2DComparatorY extends Object implements Comparator<Point2D>
Constructor and Description |
---|
Point2DComparatorY() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Point2D p1,
Point2D p2)
Vergleicht die y-Koordinaten der beiden Punkte.
|
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(Point2D p1, Point2D p2)
compare
in interface Comparator<Point2D>
p1
- Ein Punktp2
- Ein zweiter PunktComparator.compare(Object, Object)
Copyright © 2017 BitCtrl Systems GmbH. All rights reserved.