Mutate extends Operation { @Override public boolean equals(Object other) { if (this == other) { return true; } if (!(other instanceof Mutate)) { return false; } Mutate that = (Mutate) other; return Objects.equals(table, that.getTable()) && Objects.equals(conditions, that.getWhere()) && Objects.equals(mutations, that.getMutations()); } Mutate(String table);  Mutate(
      String table, List<Condition> conditions, List<Mutation> mutations
  ); Mutate where(String column, Function function, Value value); Mutate where(String column, Function function, String string); Mutate where(String column, Function function, long integer); Mutate where(String column, Function function, boolean bool); Mutate where(String column, Function function, Uuid uuid); Mutate where(String column, Function function, NamedUuid namedUuid); Mutate where(
      String column, Function function, java.util.Map<K, V> map
  ); Mutate where(
      String column, Function function, java.util.Set<T> set
  ); Mutate mutation(String column, Mutator mutator, String value); Mutate mutation(String column, Mutator mutator, long value); Mutate mutation(String column, Mutator mutator, boolean value); Mutate mutation(String column, Mutator mutator, Uuid value); Mutate mutation(String column, Mutator mutator, NamedUuid value); Mutate mutation(
      String column, Mutator mutator, java.util.Map<K, V> map
  ); Mutate mutation(
      String column, Mutator mutator, java.util.Set<T> set
  ); String getTable(); List<Condition> getWhere(); List<Mutation> getMutations(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString();  }
@Test public void testEquals() { List<Condition> conditions = ImmutableList.of( new Condition("integer_column", Function.LESS_THAN, Atom.integer(42)) ); List<Mutation> mutations = ImmutableList.of( new Mutation("column3", Mutator.PRODUCT, Atom.string("abc")) ); String tableName = "table"; new EqualsTester() .addEqualityGroup(new Mutate(tableName, conditions, mutations), new Mutate(tableName) .where("integer_column", Function.LESS_THAN, 42) .mutation("column3", Mutator.PRODUCT, "abc") ).testEquals(); }