@Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof Arbitrator)) return false; Arbitrator that = (Arbitrator) o; if (registrationDate != that.registrationDate) return false; if (!Arrays.equals(btcPubKey, that.btcPubKey)) return false; if (pubKeyRing != null ? !pubKeyRing.equals(that.pubKeyRing) : that.pubKeyRing != null) return false; if (arbitratorAddress != null ? !arbitratorAddress.equals(that.arbitratorAddress) : that.arbitratorAddress != null) return false; if (languageCodes != null ? !languageCodes.equals(that.languageCodes) : that.languageCodes != null) return false; if (btcAddress != null ? !btcAddress.equals(that.btcAddress) : that.btcAddress != null) return false; if (registrationSignature != null ? !registrationSignature.equals(that.registrationSignature) : that.registrationSignature != null) return false; return Arrays.equals(registrationPubKey, that.registrationPubKey); }