Two property states are considered equal if and only if their names and encoded values match. The {@link Object#equals(Object)} method needs tobe implemented so that it complies with this definition. And while property states are not meant for use as hash keys, the {@link Object#hashCode()} method should still be implemented accordingto this equality contract.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|