code: public static <P, R> List<R> transform(List<P> elements, Function<P, R> transformer) {
          return Lists.transform(elements, transformer);
      }
docs: Returns a list that applies {@code transformer} to each element of {@code
  elements}