@Override public boolean equals(Object o) { if (!(o instanceof ValidationComplete)) return false; ValidationComplete other = (ValidationComplete)o; return messageType == other.messageType && desc.equals(other.desc); }
@Override public boolean equals(Object o) { if (!(o instanceof ValidationComplete)) return false; ValidationComplete other = (ValidationComplete)o; return messageType == other.messageType && desc.equals(other.desc); }
@Override public boolean equals(Object o) { if (!(o instanceof ValidationComplete)) return false; ValidationComplete other = (ValidationComplete)o; return messageType == other.messageType && desc.equals(other.desc); }
@Override public boolean equals(Object o) { if (!(o instanceof SyncRequest)) return false; SyncRequest req = (SyncRequest)o; return messageType == req.messageType && desc.equals(req.desc) && initiator.equals(req.initiator) && src.equals(req.src) && dst.equals(req.dst) && ranges.equals(req.ranges); }
@Override public boolean equals(Object o) { if (!(o instanceof SyncRequest)) return false; SyncRequest req = (SyncRequest)o; return messageType == req.messageType && desc.equals(req.desc) && initiator.equals(req.initiator) && src.equals(req.src) && dst.equals(req.dst) && ranges.equals(req.ranges); }
@Override public boolean equals(Object o) { if (!(o instanceof SyncRequest)) return false; SyncRequest req = (SyncRequest)o; return messageType == req.messageType && desc.equals(req.desc) && initiator.equals(req.initiator) && src.equals(req.src) && dst.equals(req.dst) && ranges.equals(req.ranges); }
@Override public boolean equals(Object o) { if (!(o instanceof SyncComplete)) return false; SyncComplete other = (SyncComplete)o; return messageType == other.messageType && desc.equals(other.desc) && success == other.success && nodes.equals(other.nodes); }
@Override public boolean equals(Object o) { if (!(o instanceof SyncComplete)) return false; SyncComplete other = (SyncComplete)o; return messageType == other.messageType && desc.equals(other.desc) && success == other.success && nodes.equals(other.nodes); }
@Override public boolean equals(Object o) { if (!(o instanceof SyncComplete)) return false; SyncComplete other = (SyncComplete)o; return messageType == other.messageType && desc.equals(other.desc) && success == other.success && nodes.equals(other.nodes); }
/** * In order to remove completed Differencer, equality is computed only from {@code desc} and * endpoint part of two TreeResponses. */ @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Differencer that = (Differencer) o; if (!desc.equals(that.desc)) return false; return minEndpoint().equals(that.minEndpoint()) && maxEndpoint().equals(that.maxEndpoint()); }
assert job.desc.equals(desc); if (job.addTree(endpoint, tree) == 0)