@Override @SuppressFBWarnings("BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS") public boolean equals(Object obj) { if (!generalEquals(obj)) { return false; } UpdateOplogOperation other = (UpdateOplogOperation) obj; return other.getFilter().equals(this.getFilter()) && other.getModification().equals(this.getModification()); }
@Override @SuppressFBWarnings("BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS") public boolean equals(Object obj) { if (!generalEquals(obj)) { return false; } DeleteOplogOperation other = (DeleteOplogOperation) obj; return other.isJustOne() == this.isJustOne() && other.filter.equals(this.filter); }
@Override @SuppressFBWarnings("BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS") public boolean equals(Object obj) { if (!generalEquals(obj)) { return false; } InsertOplogOperation other = (InsertOplogOperation) obj; return other.getDocToInsert().equals(this.getDocToInsert()); }
@Override @SuppressFBWarnings("BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS") public boolean equals(Object obj) { if (!generalEquals(obj)) { return false; } NoopOplogOperation other = (NoopOplogOperation) obj; return other.getMsg().equals(this.getMsg()); }
@Override @SuppressFBWarnings("BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS") public boolean equals(Object obj) { if (!generalEquals(obj)) { return false; } DbCmdOplogOperation other = (DbCmdOplogOperation) obj; return other.getRequest().equals(this.getRequest()); }
@Override public final boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof BsonJavaScriptWithScope)) { return false; } BsonJavaScriptWithScope other = (BsonJavaScriptWithScope) obj; if (!this.getJavaScript().equals(other.getJavaScript())) { return false; } return this.getScope().equals(other.getScope()); }