code: public static <E> FastList<E> newWithNValues(int size, Function0<E> factory)
      {
          FastList<E> newFastList = FastList.newList(size);
          for (int i = 0; i < size; i++)
          {
              newFastList.add(factory.value());
          }
          return newFastList;
      }
docs: Creates a new FastList pre-sized to the specified size filled with default values generated by the specified function.
  
  @since 3.0