> 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. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/17603/files - new: https://git.openjdk.org/jdk/pull/17603/files/db5c7b43..e328c4eb Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=17603&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17603&range=00-01 Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod Patch: https://git.openjdk.org/jdk/pull/17603.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/17603/head:pull/17603 PR: https://git.openjdk.org/jdk/pull/17603