public boolean equals()

in LeanbackShowcase/app/src/main/java/androidx/leanback/leanbackshowcase/app/room/db/entity/VideoEntity.java [407:455]


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

        VideoEntity that = (VideoEntity) o;

        if (mId != that.mId) return false;

        if (mRented != that.mRented) return false;

        if (mDescription != null ? !mDescription.equals(that.mDescription) :
                that.mDescription != null)
            return false;

        if (mVideoUrls != null ? !mVideoUrls.equals(that.mVideoUrls) : that.mVideoUrls != null)
            return false;

        if (mCardImageUrl != null ? !mCardImageUrl.equals(that.mCardImageUrl) :
                that.mCardImageUrl != null)
            return false;

        if (mBgImageUrl != null ? !mBgImageUrl.equals(that.mBgImageUrl) : that.mBgImageUrl != null)
            return false;

        if (mTitle != null ? !mTitle.equals(that.mTitle) : that.mTitle != null) return false;

        if (mStudio != null ? !mStudio.equals(that.mStudio) : that.mStudio != null) return false;

        if (mVideoLocalStorageUrl != null ? !mVideoLocalStorageUrl.equals(
                that.mVideoLocalStorageUrl)
                : that.mVideoLocalStorageUrl != null)
            return false;

        if (mVideoBgImageLocalStorageUrl != null ? !mVideoBgImageLocalStorageUrl.equals(
                that.mVideoBgImageLocalStorageUrl) : that.mVideoBgImageLocalStorageUrl != null)
            return false;

        if (mVideoCardImageLocalStorageUrl != null ? !mVideoCardImageLocalStorageUrl.equals(
                that.mVideoCardImageLocalStorageUrl) : that.mVideoCardImageLocalStorageUrl != null)
            return false;

        if (mCategory != null ? !mCategory.equals(that.mCategory) : that.mCategory != null)
            return false;

        if (mVideoUrl != null ? !mVideoUrl.equals(that.mVideoUrl) : that.mVideoUrl != null)
            return false;

        return mStatus != null ? mStatus.equals(that.mStatus) : that.mStatus == null;
    }