open fun equals(first: A, second: A): Boolean
Returns if the first and second arguments are equal to each other. Consequently, if both arguments are null
, true
is returned and if exactly one argument is null
, false
is returned.
first
- an object second
- another object to be compared with the first object for equality Return
if the first and second arguments are equal to each other
See Also
Object#equals(Object)