Skip to content

Commit

Permalink
8295236: Update JavaDoc in javafx.geometry.Point3D
Browse files Browse the repository at this point in the history
Reviewed-by: nlisker
  • Loading branch information
douglasheldoracle authored and nlisker committed Oct 19, 2022
1 parent f448e9a commit 60a7915
Showing 1 changed file with 8 additions and 3 deletions.
Expand Up @@ -410,10 +410,15 @@ public Point3D interpolate(Point3D endValue, double t) {
}

/**
* Returns a hash code value for the point.
* @return a hash code value for the point.
* Indicates whether some other object is "equal to" this one.
* Two instances of {@code 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 {@code true} if this {@code Point3D} is the same as the {@code obj} argument; {@code false} otherwise
*/
@Override public boolean equals(Object obj) {
@Override
public boolean equals(Object obj) {
if (obj == this) return true;
if (obj instanceof Point3D) {
Point3D other = (Point3D) obj;
Expand Down

1 comment on commit 60a7915

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.