static <T extends Record> RecordCtor<T>
	of(final Class<T> type, final Converter converter) {
		requireNonNull(type);
		requireNonNull(converter);

		final RecordComponent[] components = type.getRecordComponents();
		final Constructor<T> ctor = ctor(type);

		return row -> {
			final int length = Math.min(components.length, row.length);
			final Object[] values = new Object[components.length];
			for (int i = 0; i < length; ++i) {
				values[i] = converter.convert(row[i], components[i].getType());
			}
			return create(ctor, values);
		};
	}
Creates a new record constructor for the given record {@code type} and
{@code converter}.

@param type the record type
@param converter the converter to use for converting the string
       columns of the CSV row
@return a new row-parser for the given record {@code type}
@param <T> the record type
jenetics.incubator/src/main/java/io/jenetics/incubator/csv/RecordCtor.java