Class Point


  • public class Point
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Point NULL_POINT  
    • Constructor Summary

      Constructors 
      Constructor Description
      Point​(int x, int y)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int getX()  
      int getY()  
      int hashCode()  
      void setX​(int x)  
      void setY​(int y)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • NULL_POINT

        public static final Point NULL_POINT
    • Constructor Detail

      • Point

        public Point​(int x,
                     int y)
    • Method Detail

      • getX

        public int getX()
      • setX

        public void setX​(int x)
      • getY

        public int getY()
      • setY

        public void setY​(int y)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object