SE450
:
Requirements for equals Method
[30/86]
reflexive
:
x.equals(x)
symmetric
:
x.equals(y)
if and only if
y.equals(x)
transitive
: if
x.equals(y)
and
y.equals(z)
, then
x.equals(z)
x.equals(null)
must return
false