@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        WithList withList = (WithList) o;

        if (list != null ? !list.equals(withList.list) : withList.list != null) return false;

        return true;
    }