docs: public static <F, T> List<T> transform(
        List<F> fromList, Function<? super F, ? extends T> function) {
      return (fromList instanceof RandomAccess)
          ? new TransformingRandomAccessList<F, T>(fromList, function)
          : new TransformingSequentialList<F, T>(fromList, function);
    }