You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes, classes allow relaxed equality rules, instead of a
field-by-field comparison. For example:
class And extends Expression {
private final Expression left;
private final Expression right;
...
}
For this class, it would be reasonable for equals to return true when left
and right are switched but are otherwise equal.
You would want to be able to supply a collection of instances that are
equal to each other. Because EqualsVerifier might automatically create new
objects that are equal to one of these supplied instances, it would be
necessary for the client to explicitly supply a collection of "unequal"
instances as well.
Original issue reported on code.google.com by [email protected] on 29 Aug 2009 at 4:57
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 29 Aug 2009 at 4:57The text was updated successfully, but these errors were encountered: