Class Point


  • public class Point
    extends Object
    • Constructor Detail

      • Point

        public Point​(Double x,
                     Double y)
        Creates a new Point with x and y coordinates
        Parameters:
        x -
        y -
    • Method Detail

      • getX

        public Double getX()
        Returns:
        the x
      • setX

        public void setX​(Double x)
        Parameters:
        x - the x to set
      • getY

        public Double getY()
        Returns:
        the y
      • setY

        public void setY​(Double y)
        Parameters:
        y - the y to set
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object