code: public void assign(Iterable<?> source) {
          clear();
          int i = 0;
          
          for (Object value : source) {
              values.put(Integer.toString(++i), value);
          }
      }
docs: Copies source values as integer-indexed vector values.
  
  @param source Source values.