RFR: 8324718: Add a static function to java.util.Objects to simplify object equality checks [v2]
David Alayachew
duke at openjdk.org
Sat Jan 27 06:38:33 UTC 2024
On Sat, 27 Jan 2024 04:21:02 GMT, David Alayachew <duke at openjdk.org> wrote:
>> Adding a function to Objects in order to facilitate equality checking and enhance readability. You simply specify the 2 objects that you want to check for equality, and then provide the functions which will be used to provide the values that we will check for equality.
>
> David Alayachew has updated the pull request incrementally with one additional commit since the last revision:
>
> Aligning the documentation across examples
>
> I didn't really want to use a record since that might distract from the example for those unfamiliar with a record. But, it makes things simpler, and I want to keep my examples consistent, especially if the examples use the same name.
Adding a screenshot to demonstrate what I see.
![image](https://github.com/openjdk/jdk/assets/38477640/3a78283a-ddce-4c34-b326-fa1203f8fde3)
Clicking NEW on the top left says that I don't have permissions.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17603#issuecomment-1913033434
More information about the core-libs-dev
mailing list