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, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static final RectangleComparator INSTANCE
public int compare(Rectangle pRect1, Rectangle pRect2)
compare in interface Comparator<Rectangle>Copyright © 2023. All rights reserved.