@HashCodeAndEqualsPlugin.Enhance protected static class EqualsMethod.CompoundComparator extends Object implements Comparator<FieldDescription.InDefinedShape>
Modifier | Constructor and Description |
---|---|
protected |
CompoundComparator(Comparator<? super FieldDescription.InDefinedShape>... comparator)
Creates a compound comparator.
|
protected |
CompoundComparator(List<? extends Comparator<? super FieldDescription.InDefinedShape>> comparators)
Creates a compound comparator.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(FieldDescription.InDefinedShape left,
FieldDescription.InDefinedShape right) |
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
protected CompoundComparator(Comparator<? super FieldDescription.InDefinedShape>... comparator)
comparator
- All comparators to be applied in the application order.protected CompoundComparator(List<? extends Comparator<? super FieldDescription.InDefinedShape>> comparators)
comparators
- All comparators to be applied in the application order.public int compare(FieldDescription.InDefinedShape left, FieldDescription.InDefinedShape right)
compare
in interface Comparator<FieldDescription.InDefinedShape>
Copyright © 2014–2025. All rights reserved.