/** * Increment the given field atomically by the given value * * @param field * The field to increment * @param by * The value to increment by * @return this object */ public static Builder inc(String field, int by) { return new Builder().inc(field, by); }
/** * Increment the given field atomically by one * * @param field * The field to increment * @return this object */ public Builder inc(String field) { return inc(field, 1); }