| Modifier and Type | Method and Description |
|---|---|
List<DiffResult> |
DiffObjects.diff(Collection<T> expected,
Collection<T> current,
DiffComparator<T> matcher)
Execute the diff between two objects using annotations.
|
List<DiffResult> |
DiffObjects.diff(Collection<T> expectedCollection,
Collection<T> currentCollection,
DiffConfiguration configuration,
DiffComparator<T> matcher)
Execute the diff between two objects using a configuration.
|
boolean |
DiffObjects.isEquals(Collection<T> expectedCollection,
Collection<T> currentCollection,
DiffComparator<T> matcher)
Check if exists any difference between the two objects using annotations.
|
boolean |
DiffObjects.isEquals(Collection<T> expectedCollection,
Collection<T> currentCollection,
DiffConfiguration configuration,
DiffComparator<T> matcher)
Check if exists any difference between the two objects.
|
| Modifier and Type | Method and Description |
|---|---|
<F> DiffQueryMappingBuilder<T> |
DiffBuilder.mapping(String field,
DiffComparator<F> fieldComparator)
Maps the getter of the field for the class.
|
<F> DiffQueryMappingBuilder<T> |
DiffMappingBuilder.mapping(String field,
DiffComparator<F> fieldComparator)
Maps the getter of the field for the class.
|
<F> DiffQueryMappingBuilder<T> |
DiffQueryMappingBuilder.mapping(String field,
DiffComparator<F> comparator)
Maps a new getter of the field for the class.
|
<F> DiffQueryMappingBuilder<T> |
DiffInstanceBuilder.mapping(String field,
DiffComparator<F> comparator)
Maps the getter of the field for the class.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EqualsComparator<T>
Check two objects for equality using the equals method implementation.
|
class |
EqualsIgnoreCaseComparator
Check two strings for equality using the equals ignore case method implementation.
|
class |
IndexComparator<T>
Check two objects for equality using the equals method implementation.
|
| Modifier and Type | Method and Description |
|---|---|
DiffComparator<?> |
DiffMetadata.getComparator() |
| Constructor and Description |
|---|
DiffMetadata(String value,
Method method,
DiffStrategyType diffStrategyType,
DiffComparator<?> comparator) |
Copyright © 2020. All rights reserved.