@@ -0,0 +1,1394 @@
+package ru.matevosyan;%0A%0Aimport java.util.Calendar;%0A%0A/**%0A * OverrideHashcodeUser class.%0A * Created on 07.05.2017.%0A * @author Matevosyan Vardan%0A * @version 1.0%0A */%0A%0Apublic class OverrideHashcodeUser %7B%0A%0A%0A    private String name;%0A    private int children;%0A    private Calendar birthday;%0A%0A    /**%0A     * Constructor.%0A     */%0A%0A    public OverrideHashcodeUser(String name, int children, Calendar birthday) %7B%0A        this.name = name;%0A        this.children = children;%0A        this.birthday = birthday;%0A    %7D%0A%0A//    @Override%0A//    public boolean equals(Object o) %7B%0A//        if (this == o) %7B%0A//            return true;%0A//        %7D%0A//        if (o == null %7C%7C this.getClass() != o.getClass()) %7B%0A//            return false;%0A//        %7D%0A//%0A//        OverrideHashcodeUser that = (OverrideHashcodeUser) o;%0A//%0A//        if (this.name != null ? !this.name.equals(that.name) : that.name != null) %7B%0A//            return false;%0A//        %7D%0A//        if (this.children != that.children) %7B%0A//            return false;%0A//        %7D%0A//        return  birthday != null ? birthday.equals(that.birthday) : that.birthday == null;%0A//    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        int code = 17;%0A        int result = code * 31 * (this.name != null ? this.name.hashCode() : 0) + children;%0A        result = result * code * 31 + (this.birthday != null ? this.birthday.hashCode() : 0);%0A        return result;%0A    %7D%0A%0A%7D

add OverrideHashcodeUser.java