public static <T> List<T> parse(
		final CharSequence csv,
		final Function<? super String[], ? extends T> mapper
	) {
		requireNonNull(csv);
		requireNonNull(mapper);

		try (var rows = rows(CharBuffer.wrap(csv))) {
			return rows
				.map(mapper)
				.collect(Collectors.toUnmodifiableList());
		}
	}
Parses the given CSV string into a list of <em>records</em>. The records
are created from a <em>row</em> ({@code String[]} array) by applying the
given {@code mapper}.

@param csv the CSV string to parse
@param mapper the record mapper
@return the parsed record list
@param <T> the record type
jenetics.ext/src/main/java/io/jenetics/ext/util/CsvSupport.java