package ru.job4j;

/**
 * Testing Task 3.4.2
 * Create collection Map for bank
 *
 * @author Anton Vasilyuk
 * @version 1.0
 * @since 0.1
 */
public class Account {

    /**.
     * Amount money
     */
    private double value;

    /**.
     * Number account
     */
    private Integer recvisite;

    /**.
     * Constructor for account
     * @param value amount money
     * @param recvisite number account
     */
    public Account(double value, Integer recvisite) {
        this.value = value;
        this.recvisite = recvisite;
    }
    public void setValue(double value) {
        this.value = value;
    }
    public double getValue() {
        return this.value;
    }
}

@@ -529,32 +529,106 @@
 recvisite;%0A    %7D
+%0A%0A    /**.%0A     * Transfer money to an account%0A     * @param value%0A     */
 %0A    public void
@@ -691,64 +691,793 @@
   %7D%0A
-    public double getValue() %7B%0A        return this.value
+%0A    /**.%0A     * View money in the account%0A     * @return result%0A     */%0A    public double getValue() %7B%0A        return this.value;%0A    %7D%0A%0A    @Override%0A    public boolean equals(Object o) %7B%0A        if (this == o) return true;%0A        if (o == null %7C%7C getClass() != o.getClass()) return false;%0A%0A        Account account = (Account) o;%0A%0A        if (Double.compare(account.value, value) != 0) return false;%0A        return recvisite != null ? recvisite.equals(account.recvisite) : account.recvisite == null;%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        int result;%0A        long temp;%0A        temp = Double.doubleToLongBits(value);%0A        result = (int) (temp %5E (temp %3E%3E%3E 32));%0A        result = 31 * result + (recvisite != null ? recvisite.hashCode() : 0);%0A        return result
 ;%0A  

add file for chapter_003_3.4.2