Class DummyPoint

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class DummyPoint
    extends java.lang.Object
    implements java.lang.Cloneable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int x  
      int y  
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object clone()  
      double getX()  
      void move​(int x, int y)  
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • x

        public int x
      • y

        public int y
    • Constructor Detail

      • DummyPoint

        public DummyPoint()
      • DummyPoint

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

      • getX

        public double getX()
      • move

        public void move​(int x,
                         int y)
      • clone

        public java.lang.Object clone()
        Overrides:
        clone in class java.lang.Object