public class RectangleComparator extends Object implements Comparator<Rectangle>
T-Plan Robot Enterprise, (C) 2009-2022 T-Plan Limited. All rights reserved.
Modifier and Type | Field and Description |
---|---|
static int |
HORIZONTAL |
static int |
READING_ORDER |
static int |
VERTICAL |
Constructor and Description |
---|
RectangleComparator(int mode) |
Modifier and Type | Method and Description |
---|---|
int |
compare(Rectangle o1,
Rectangle o2) |
equals, 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 static final int HORIZONTAL
public static final int VERTICAL
public static final int READING_ORDER
public int compare(Rectangle o1, Rectangle o2)
compare
in interface Comparator<Rectangle>