Class Position


  • public class Position
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Position()  
      Position​(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)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Position

        public Position()
      • Position

        public Position​(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)
      • 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