equal
Description:
Compare two Place instances for equality.
This compares all fields and only returns true if the instances are exactly equal. For example, if both
places have the same location, but place b
has its
continent property set and place this
does not, false will be returned.
Both instances must be non-null.
Parameters:
this |
a place |
b |
another place |
Returns:
true if the instances are equal, false otherwise |