public boolean equals(Object other){
  if (other == this) {
    return true;
  }
  if (!(other instanceof X509CRLEntry)) {
    return false;
  }
  X509CRLEntry obj=(X509CRLEntry)other;
  try {
    return Arrays.equals(getEncoded(),obj.getEncoded());
  }
 catch (  CRLException e) {
    return false;
  }
}

public boolean equals ( Object other ) { if ( other == this ) { return true ; } if ( ! ( other instanceof X509CRLEntry ) ) { return false ; } X509CRLEntry obj = ( X509CRLEntry ) other ; try { return Arrays . equals ( getEncoded ( ) , obj . getEncoded ( ) ) ; } catch ( CRLException e ) { return false ; } }
returns whether the specified object equals to this instance .
