public class EqualsComparator<T> extends java.lang.Object implements DiffComparator<T>
| Constructor and Description |
|---|
EqualsComparator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(T o1,
T o2)
Check the equality of two objects.
|
public boolean equals(T o1, T o2)
equals in interface DiffComparator<T>o1 - first instance to compare the equality.o2 - second instance to compare the equality.true if the two objects are equals.Copyright © 2018. All rights reserved.