public final class RectangleComparator extends Object implements Comparator<Rectangle>
Modifier and Type | Field and Description |
---|---|
static RectangleComparator |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
int |
compare(Rectangle pRect1,
Rectangle pRect2) |
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 static final RectangleComparator INSTANCE
public int compare(Rectangle pRect1, Rectangle pRect2)
compare
in interface Comparator<Rectangle>
Copyright © 2023. All rights reserved.