package ru.job4j.calculator;

public class Calculator {
    private double result;
    
    public void add(double first, double second) {
        this.result = first + second;
    }
    
    public double getResult() {
        return this.result;
    }
	 public void substruct(double first, double second) {
        this.result = first - second;
    }
    
    public double getResult() {
        return this.result;
    }
	 public void div(double first, double second) {
        this.result = first / second;
    }
    
    public double getResult() {
        return this.result;
    }
	 public void multiple(double first, double second) {
        this.result = first * second;
    }
    
    public double getResult() {
        return this.result;
    }

}
@@ -22,17 +22,119 @@
 ulator;%0A
+/**%0A * Calculate.%0A *%0A * @author Petr Arsentev (parsentev@yandex.ru)%0A * @version $Id$%0A * @since 0.1%0A */
 %0A
-
 public c
@@ -151,16 +151,39 @@
 lator %7B%0A
+/**%0A* @param result%0A*/%0A
     priv
@@ -201,18 +201,95 @@
 result;%0A
-  
+/**%0A* Test add.%0A*@param first %D0%BF%D0%B5%D1%80%D0%B2%D1%8B%D0%B9 %D0%B0%D1%80%D0%B3%D1%83%D0%BC%D0%B5%D0%BD%D1%82%0A*@param second %D0%B2%D1%82%D0%BE%D1%80%D0%BE%D0%B9 %D0%B0%D1%80%D0%B3%D1%83%D0%BC%D0%B5%D0%BD%D1%82%0A*/
   %0A    p
@@ -382,78 +382,93 @@
   %7D%0A
-    %0A    public double getResult() %7B%0A        return this.result;%0A    %7D
+/**%0A* Test substruct.%0A*@param first %D0%BF%D0%B5%D1%80%D0%B2%D1%8B%D0%B9 %D0%B0%D1%80%D0%B3%D1%83%D0%BC%D0%B5%D0%BD%D1%82%0A*@param second %D0%B2%D1%82%D0%BE%D1%80%D0%BE%D0%B9 %D0%B0%D1%80%D0%B3%D1%83%D0%BC%D0%B5%D0%BD%D1%82%0A*/
 %0A%09 p
@@ -567,78 +567,87 @@
   %7D%0A
-    %0A    public double getResult() %7B%0A        return this.result;%0A    %7D
+/**%0A* Test div.%0A*@param first %D0%BF%D0%B5%D1%80%D0%B2%D1%8B%D0%B9 %D0%B0%D1%80%D0%B3%D1%83%D0%BC%D0%B5%D0%BD%D1%82%0A*@param second %D0%B2%D1%82%D0%BE%D1%80%D0%BE%D0%B9 %D0%B0%D1%80%D0%B3%D1%83%D0%BC%D0%B5%D0%BD%D1%82%0A*/
 %0A%09 p
@@ -740,78 +740,92 @@
   %7D%0A
-    %0A    public double getResult() %7B%0A        return this.result;%0A    %7D
+/**%0A* Test multiple.%0A*@param first %D0%BF%D0%B5%D1%80%D0%B2%D1%8B%D0%B9 %D0%B0%D1%80%D0%B3%D1%83%D0%BC%D0%B5%D0%BD%D1%82%0A*@param second %D0%B2%D1%82%D0%BE%D1%80%D0%BE%D0%B9 %D0%B0%D1%80%D0%B3%D1%83%D0%BC%D0%B5%D0%BD%D1%82%0A*/
 %0A%09 p
@@ -923,16 +923,45 @@
   %7D%0A
-    %0A   
+/**%0A* Test result.%0A@return result%0A*/%0A
  pub
@@ -1017,12 +1017,11 @@
 lt;%0A
+
     %7D%0A
-%0A
 %7D

task 185