java.lang.Object
org.assertj.core.internal.FieldByFieldComparator
- All Implemented Interfaces:
Comparator<Object>
- Direct Known Subclasses:
IgnoringFieldsComparator,OnFieldsComparator
@Deprecated(since="3",
forRemoval=true)
public class FieldByFieldComparator
extends Object
implements Comparator<Object>
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated javadoc
Compares objects field/property by field/property including private fields unless
Assertions.setAllowComparingPrivateFields(boolean) has been called with false.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Map<String, Comparator<?>> Deprecated, for removal: This API element is subject to removal in a future version.protected final TypeComparatorsDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.FieldByFieldComparator(Map<String, Comparator<?>> comparatorsByPropertyOrField, TypeComparators typeComparators) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanDeprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.protected StringDeprecated, for removal: This API element is subject to removal in a future version.protected StringDeprecated, for removal: This API element is subject to removal in a future version.protected StringDeprecated, for removal: This API element is subject to removal in a future version.protected StringDeprecated, for removal: This API element is subject to removal in a future version.toString()Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
comparatorsByPropertyOrField
Deprecated, for removal: This API element is subject to removal in a future version. -
comparatorsByType
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
FieldByFieldComparator
public FieldByFieldComparator(Map<String, Comparator<?>> comparatorsByPropertyOrField, TypeComparators typeComparators) Deprecated, for removal: This API element is subject to removal in a future version. -
FieldByFieldComparator
public FieldByFieldComparator()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
compare
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
comparein interfaceComparator<Object>
-
areEqual
Deprecated, for removal: This API element is subject to removal in a future version. -
toString
Deprecated, for removal: This API element is subject to removal in a future version. -
description
Deprecated, for removal: This API element is subject to removal in a future version. -
describeUsedComparators
Deprecated, for removal: This API element is subject to removal in a future version. -
describeFieldComparatorsByType
Deprecated, for removal: This API element is subject to removal in a future version. -
describeFieldComparatorsByName
Deprecated, for removal: This API element is subject to removal in a future version.
-
AbstractIterableAssert.usingRecursiveFieldByFieldElementComparator(RecursiveComparisonConfiguration)orAbstractObjectAssert.usingRecursiveComparison()instead to perform a true recursive comparison.