Beispiel #1
0
  public boolean equals(Object oOther) {
    if ((oOther == null) || (!(oOther instanceof LINKID3V2Frame))) {
      return false;
    }

    LINKID3V2Frame oOtherLINK = (LINKID3V2Frame) oOther;

    return (Arrays.equals(m_abyFrameIdentifier, oOtherLINK.m_abyFrameIdentifier)
        && (((m_sURL == null) && (oOtherLINK.m_sURL == null)) || m_sURL.equals(oOtherLINK.m_sURL))
        && m_sAdditionalData.equals(oOtherLINK.m_sAdditionalData));
  }
  public boolean equals(Object oOther) {
    if ((oOther == null) || (!(oOther instanceof COMRID3V2Frame))) {
      return false;
    }

    COMRID3V2Frame oOtherCOMR = (COMRID3V2Frame) oOther;

    return (m_oTextEncoding.equals(oOtherCOMR.m_oTextEncoding)
        && m_sPrice.equals(oOtherCOMR.m_sPrice)
        && m_sValidUntil.equals(oOtherCOMR.m_sValidUntil)
        && m_sContactUrl.equals(oOtherCOMR.m_sContactUrl)
        && (m_byReceivedAs == oOtherCOMR.m_byReceivedAs)
        && m_sNameOfSeller.equals(oOtherCOMR.m_sNameOfSeller)
        && m_sDescription.equals(oOtherCOMR.m_sDescription)
        && m_sPictureMimeType.equals(oOtherCOMR.m_sPictureMimeType)
        && Arrays.equals(m_abySellerLogoData, oOtherCOMR.m_abySellerLogoData));
  }