@Test public void testEquals() { LineGroup expected = new LineGroup( "groupId", "groupName", Uri.parse("http: assertTrue(expected.equals(new LineGroup( "groupId", "groupName", Uri.parse("http: assertFalse(expected.equals(new LineGroup( "groupId2", "groupName", Uri.parse("http: assertFalse(expected.equals(new LineGroup( "groupId", "groupName2", Uri.parse("http: assertFalse(expected.equals(new LineGroup( "groupId", "groupName", Uri.parse("http: }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; LineGroup that = (LineGroup) o; if (!groupId.equals(that.groupId)) return false; if (!groupName.equals(that.groupName)) return false; if (pictureUrl != null ? !pictureUrl.equals(that.pictureUrl) : that.pictureUrl != null) return false; return true; }
LineGroup implements Parcelable { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; LineGroup that = (LineGroup) o; if (!groupId.equals(that.groupId)) return false; if (!groupName.equals(that.groupName)) return false; if (pictureUrl != null ? !pictureUrl.equals(that.pictureUrl) : that.pictureUrl != null) return false; return true; } }
LineGroup implements Parcelable { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; LineGroup that = (LineGroup) o; if (!groupId.equals(that.groupId)) return false; if (!groupName.equals(that.groupName)) return false; if (pictureUrl != null ? !pictureUrl.equals(that.pictureUrl) : that.pictureUrl != null) return false; return true; } LineGroup(
            @NonNull String groupId,
            @NonNull String groupName,
            @Nullable Uri pictureUrl); private  LineGroup(@NonNull Parcel in); }
LineGroup implements Parcelable { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; LineGroup that = (LineGroup) o; if (!groupId.equals(that.groupId)) return false; if (!groupName.equals(that.groupName)) return false; if (pictureUrl != null ? !pictureUrl.equals(that.pictureUrl) : that.pictureUrl != null) return false; return true; } LineGroup(
            @NonNull String groupId,
            @NonNull String groupName,
            @Nullable Uri pictureUrl); private  LineGroup(@NonNull Parcel in); @Override int describeContents(); @Override void writeToParcel(Parcel dest, int flags); @NonNull String getGroupName(); @NonNull String getGroupId(); @Nullable Uri getPictureUrl(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
LineGroup implements Parcelable { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; LineGroup that = (LineGroup) o; if (!groupId.equals(that.groupId)) return false; if (!groupName.equals(that.groupName)) return false; if (pictureUrl != null ? !pictureUrl.equals(that.pictureUrl) : that.pictureUrl != null) return false; return true; } LineGroup(
            @NonNull String groupId,
            @NonNull String groupName,
            @Nullable Uri pictureUrl); private  LineGroup(@NonNull Parcel in); @Override int describeContents(); @Override void writeToParcel(Parcel dest, int flags); @NonNull String getGroupName(); @NonNull String getGroupId(); @Nullable Uri getPictureUrl(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final Creator<LineGroup> CREATOR; }