@HashCodeAndEqualsPlugin.Enhance protected static class EqualsMethod.CompoundComparator extends java.lang.Object implements java.util.Comparator<FieldDescription.InDefinedShape>
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<java.util.Comparator<? super FieldDescription.InDefinedShape>> |
comparators
All comparators to be applied in the application order.
|
| Modifier | Constructor and Description |
|---|---|
protected |
CompoundComparator(java.util.Comparator<? super FieldDescription.InDefinedShape>... comparator)
Creates a compound comparator.
|
protected |
CompoundComparator(java.util.List<? extends java.util.Comparator<? super FieldDescription.InDefinedShape>> comparators)
Creates a compound comparator.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(FieldDescription.InDefinedShape left,
FieldDescription.InDefinedShape right) |
private final java.util.List<java.util.Comparator<? super FieldDescription.InDefinedShape>> comparators
protected CompoundComparator(java.util.Comparator<? super FieldDescription.InDefinedShape>... comparator)
comparator - All comparators to be applied in the application order.protected CompoundComparator(java.util.List<? extends java.util.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 java.util.Comparator<FieldDescription.InDefinedShape>