code: public void set(String[] attributeNames, Object[] values) {
          if (attributeNames == null || values == null || attributeNames.length != values.length) {
              throw new IllegalArgumentException("must pass non-null arrays of equal length");
          }
  
          for (int i = 0; i < attributeNames.length; i++) {
              set(attributeNames[i], values[i]);
          }
      }
docs: Sets values for this model instance. The sequence of values must correspond to sequence of names.
  
  @param attributeNames names of attributes.
  @param values values for this instance.