@@ -0,0 +1,1084 @@
+package ru.matevosyan;%0A%0Aimport java.util.Calendar;%0A%0A/**%0A * OverrideEqualsUser class.%0A * Created on 07.05.2017.%0A * @author Matevosyan Vardan%0A * @version 1.0%0A */%0A%0Apublic class OverrideEqualsUser %7B%0A%0A%0A    private final String name;%0A    private final int children;%0A    private final Calendar birthday;%0A%0A    /**%0A     * Constructor.%0A     */%0A%0A    public OverrideEqualsUser(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        OverrideEqualsUser that = (OverrideEqualsUser) 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%0A%7D

add OverrideEqualsUser