Returns true
if the arguments are deeply equal to each other
and false
otherwise.
Two null
values are deeply equal. If both arguments are
arrays, the algorithm in Arrays.deepEquals
is used to determine equality.
Otherwise, equality is determined by using the equals
method of the first argument.
a | an object | |
b | an object to be compared with a for deep equality |
true
if the arguments are deeply equal to each other
and false
otherwise
Arrays.deepEquals(Object[], Object[]), Objects.equals(Object, Object)
Diagram: Object