@Override public boolean equals(Object obj){
  if (this == obj)   return true;
  if (obj == null)   return false;
  if (getClass() != obj.getClass())   return false;
  NdefMessage other=(NdefMessage)obj;
  return Arrays.equals(mRecords,other.mRecords);
}

@ Override public boolean equals ( Object obj ) { if ( this == obj ) return true ; if ( obj == null ) return false ; if ( getClass ( ) != obj . getClass ( ) ) return false ; NdefMessage other = ( NdefMessage ) obj ; return Arrays . equals ( mRecords , other . mRecords ) ; }
returns true if the specified ndef message contains identical ndef records .
