Package arez
Interface EqualityComparator
- All Known Implementing Classes:
ObjectsDeepEqualsComparator,ObjectsEqualsComparator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy interface used to determine whether two values are equal.
-
Method Summary
-
Method Details
-
areEqual
Return true if the supplied values are considered equal.- Parameters:
oldValue- the previous value.newValue- the current value.- Returns:
- true if values are equal, false otherwise.
-