@@ -0,0 +1,788 @@
+package ru.job4j.condition;%0A%0A/**%0A*Point class of the task 3.2%0A*@author Dmitriy Bobrov (mailto:bobrov.dmitriy@gmail.com)%0A*@since 0.1%0A*/%0A%0Apublic class Point %7B%0A/**%0A*Class Point Describes the point.%0A*/%0A   private int x;%0A   private int y;%0A/**%0A*Point constructor.%0A*@param x X point coordinate%0A*@param y Y point coordinate%0A*/ %0A%0A   public  Point(int x, int y) %7B%0A      this.x = x;%0A      this.y = y;%0A  %7D%0A%0A/**%0A*getter for coordinate x.%0A*/  %0A  public int getX() %7B%0A      return this.x;%0A  %7D%0A /**%0A*getter for coordinate y.%0A*/ %0A%0A  public int getY() %7B%0A     return this.y;%0A  %7D%0A/**%0A*Check is Point  exists on function (y(x) = a * x + b).%0A*@param aValue a value%0A*@param bValue b value%0A*@return true if point exists on function%0A*/%0A  public boolean is(int a, int b) %7B%0A    return this.y == a * this.x + b;%0A  %7D%0A%7D

Task 3.2 Condition point