@Test public void testEquals_Mutation() { Mutation m = new Mutation(ROW); assertFalse(m.equals(cm)); assertFalse(cm.equals(m)); }
@Override public boolean equals(Object o) { if (o == this) { return true; } if (o == null || !(o instanceof ConditionalMutation)) { return false; } ConditionalMutation cm = (ConditionalMutation) o; if (!conditions.equals(cm.conditions)) { return false; } return super.equals(o); }
ConditionalMutation extends Mutation { @Override public boolean equals(Object o) { if (o == this) { return true; } if (o == null || !(o instanceof ConditionalMutation)) { return false; } ConditionalMutation cm = (ConditionalMutation) o; if (!conditions.equals(cm.conditions)) { return false; } return super.equals(o); } }
ConditionalMutation extends Mutation { @Override public boolean equals(Object o) { if (o == this) { return true; } if (o == null || !(o instanceof ConditionalMutation)) { return false; } ConditionalMutation cm = (ConditionalMutation) o; if (!conditions.equals(cm.conditions)) { return false; } return super.equals(o); } ConditionalMutation(byte[] row, Condition... conditions);  ConditionalMutation(byte[] row, int start, int length, Condition... conditions);  ConditionalMutation(Text row, Condition... conditions);  ConditionalMutation(CharSequence row, Condition... conditions);  ConditionalMutation(ByteSequence row, Condition... conditions);  ConditionalMutation(ConditionalMutation cm); }
ConditionalMutation extends Mutation { @Override public boolean equals(Object o) { if (o == this) { return true; } if (o == null || !(o instanceof ConditionalMutation)) { return false; } ConditionalMutation cm = (ConditionalMutation) o; if (!conditions.equals(cm.conditions)) { return false; } return super.equals(o); } ConditionalMutation(byte[] row, Condition... conditions);  ConditionalMutation(byte[] row, int start, int length, Condition... conditions);  ConditionalMutation(Text row, Condition... conditions);  ConditionalMutation(CharSequence row, Condition... conditions);  ConditionalMutation(ByteSequence row, Condition... conditions);  ConditionalMutation(ConditionalMutation cm); void addCondition(Condition condition); List<Condition> getConditions(); @Override boolean equals(Object o); @Override int hashCode(); @Override void setReplicationSources(Set<String> sources); }
ConditionalMutation extends Mutation { @Override public boolean equals(Object o) { if (o == this) { return true; } if (o == null || !(o instanceof ConditionalMutation)) { return false; } ConditionalMutation cm = (ConditionalMutation) o; if (!conditions.equals(cm.conditions)) { return false; } return super.equals(o); } ConditionalMutation(byte[] row, Condition... conditions);  ConditionalMutation(byte[] row, int start, int length, Condition... conditions);  ConditionalMutation(Text row, Condition... conditions);  ConditionalMutation(CharSequence row, Condition... conditions);  ConditionalMutation(ByteSequence row, Condition... conditions);  ConditionalMutation(ConditionalMutation cm); void addCondition(Condition condition); List<Condition> getConditions(); @Override boolean equals(Object o); @Override int hashCode(); @Override void setReplicationSources(Set<String> sources);  }