code: public <T> SetUpdate<T> map(Function<E, T> mapper) {
      return new SetUpdate<T>(type, mapper.apply(element));
    }
docs: Maps the value of the update to another type.
  
  @param mapper the mapper with which to transform the value
  @param <T> the type to which to transform the value
  @return the transformed set update