code: public static Object[] convert( String[] values, Class[] toTypes )
      {
          Object[] converted = new Object[values.length];
          for (int i = 0; i < values.length; i++)
          {
              converted[i] = parse( values[i], toTypes[i] );
          }
          return converted;
      }
docs: <p>convert.</p>
  
  @param values an array of {@link java.lang.String} objects.
  @param toTypes an array of {@link java.lang.Class} objects.
  @return an array of {@link java.lang.Object} objects.