On Tue, 18 Oct 2022 11:32:04 GMT, Nir Lisker <nlis...@openjdk.org> wrote:
>> Agreed, mentioning equality criteria sounds good to me too. How does this >> look ? >> >> >> /** >> * Indicates whether some other object is "equal to" this one. >> * Two instances of Point3D are equal if the return values of their >> * {@code getX}, {@code getY}, and {@code getZ} methods are equal. >> * >> * @param obj the reference object with which to compare >> * @return true if this Point3D is the same as the obj argument; false >> otherwise >> */ > > This is the current proposal by Douglas and align with `Object::equals` which > it is overriding. I'm fine with this wording. Just need to add the `@code` > tags. I have added a commit to match the proposed block by arapte. ------------- PR: https://git.openjdk.org/jfx/pull/913