public String[] getImmutableFields(Class<? extends IObject> klass) {
      if (klass == null) {
        throw new ApiUsageException("Cannot proceed with null klass.");
      }

      Immutables i = immutablesHolder.get(klass.getName());
      return i.getImmutableFields();
    }
 @Override
 public CounterBatchMutationQuery combinedWith(CounterMutation other) {
   return newQuery(Immutables.join(batchables, other));
 }
Example #3
0
 /** Mutates this set. */
 public ImmutableSet<T> mutate(Consumer<Set<T>> mutator) {
   ImmutableSet<T> mutated = Immutables.mutateSet(get(), mutator);
   set(mutated);
   return mutated;
 }