public class EqualsComparator<T> extends Object implements DiffComparator<T>
| Constructor and Description |
|---|
EqualsComparator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEquals(T expected,
T current)
Check the equality of two objects.
|
public boolean isEquals(T expected, T current)
isEquals in interface DiffComparator<T>expected - the object with the expected state.current - the object with the current state.true if the two objects are equals.Copyright © 2020. All rights reserved.