@Test public void testEquals() { LineProfile expected = new LineProfile( "userId", "displayName", Uri.parse("http: assertTrue(expected.equals(new LineProfile( "userId", "displayName", Uri.parse("http: assertFalse(expected.equals(new LineProfile( "userId2", "displayName", Uri.parse("http: assertFalse(expected.equals(new LineProfile( "userId", "displayName2", Uri.parse("http: assertFalse(expected.equals(new LineProfile( "userId", "displayName", Uri.parse("http: assertFalse(expected.equals(new LineProfile( "userId", "displayName", Uri.parse("http: }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; LineProfile that = (LineProfile) o; if (!userId.equals(that.userId)) return false; if (!displayName.equals(that.displayName)) return false; if (pictureUrl != null ? !pictureUrl.equals(that.pictureUrl) : that.pictureUrl != null) return false; return statusMessage != null ? statusMessage.equals(that.statusMessage) : that.statusMessage == null; }
LineProfile implements Parcelable { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; LineProfile that = (LineProfile) o; if (!userId.equals(that.userId)) return false; if (!displayName.equals(that.displayName)) return false; if (pictureUrl != null ? !pictureUrl.equals(that.pictureUrl) : that.pictureUrl != null) return false; return statusMessage != null ? statusMessage.equals(that.statusMessage) : that.statusMessage == null; } }
LineProfile implements Parcelable { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; LineProfile that = (LineProfile) o; if (!userId.equals(that.userId)) return false; if (!displayName.equals(that.displayName)) return false; if (pictureUrl != null ? !pictureUrl.equals(that.pictureUrl) : that.pictureUrl != null) return false; return statusMessage != null ? statusMessage.equals(that.statusMessage) : that.statusMessage == null; } LineProfile(
            @NonNull String userId,
            @NonNull String displayName,
            @Nullable Uri pictureUrl,
            @Nullable String statusMessage); protected  LineProfile(@NonNull Parcel in); }
LineProfile implements Parcelable { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; LineProfile that = (LineProfile) o; if (!userId.equals(that.userId)) return false; if (!displayName.equals(that.displayName)) return false; if (pictureUrl != null ? !pictureUrl.equals(that.pictureUrl) : that.pictureUrl != null) return false; return statusMessage != null ? statusMessage.equals(that.statusMessage) : that.statusMessage == null; } LineProfile(
            @NonNull String userId,
            @NonNull String displayName,
            @Nullable Uri pictureUrl,
            @Nullable String statusMessage); protected  LineProfile(@NonNull Parcel in); @Override int describeContents(); @Override void writeToParcel(Parcel dest, int flags); @NonNull String getDisplayName(); @NonNull String getUserId(); @Nullable Uri getPictureUrl(); @Nullable String getStatusMessage(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
LineProfile implements Parcelable { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; LineProfile that = (LineProfile) o; if (!userId.equals(that.userId)) return false; if (!displayName.equals(that.displayName)) return false; if (pictureUrl != null ? !pictureUrl.equals(that.pictureUrl) : that.pictureUrl != null) return false; return statusMessage != null ? statusMessage.equals(that.statusMessage) : that.statusMessage == null; } LineProfile(
            @NonNull String userId,
            @NonNull String displayName,
            @Nullable Uri pictureUrl,
            @Nullable String statusMessage); protected  LineProfile(@NonNull Parcel in); @Override int describeContents(); @Override void writeToParcel(Parcel dest, int flags); @NonNull String getDisplayName(); @NonNull String getUserId(); @Nullable Uri getPictureUrl(); @Nullable String getStatusMessage(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final Parcelable.Creator<LineProfile> CREATOR; }