code: public void setValueAtIn(Object value, int index, List aList) {
          Object cleanValue = cleanupValue(value);
          while (aList.size() <= index) {
              aList.add(null);
          }
          aList.set(index, cleanValue);
      }
docs: Sets value of element at index (0-based). If the current list has less elements it is extended to
  have exactly index elements.
  @param value value to store.
  @param index 0-based index to add element.
  @param aList list to set element in.