// Path: src/main/java/uk/elementarysoftware/quickcsv/api/CSVRecord.java
// public interface CSVRecord {
//     public void skipField();
//     public void skipFields(int nFields);
//     
//     public Field getNextField();
// }
// 
// Path: src/main/java/uk/elementarysoftware/quickcsv/api/CSVRecordWithHeader.java
// public interface CSVRecordWithHeader<K extends Enum<K>> {
//     
//     public Field getField(K field);
//     
//     public List<String> getHeader();
// }


import java.util.function.Function;
import uk.elementarysoftware.quickcsv.api.CSVRecord;
import uk.elementarysoftware.quickcsv.api.CSVRecordWithHeader;
package uk.elementarysoftware.quickcsv.benchmarks;



public class City {
    
    public static final Function<CSVRecord, City> MAPPER = City::new;
    
    public static class EnumMapper {
        
        public static enum Fields {
            AccentCity,
            Population,
            Latitude,
            Longitude
        }
        
// Path: src/main/java/uk/elementarysoftware/quickcsv/api/CSVRecord.java
// public interface CSVRecord {
//     public void skipField();
//     public void skipFields(int nFields);
//     
//     public Field getNextField();
// }
// 
// Path: src/main/java/uk/elementarysoftware/quickcsv/api/CSVRecordWithHeader.java
// public interface CSVRecordWithHeader<K extends Enum<K>> {
//     
//     public Field getField(K field);
//     
//     public List<String> getHeader();
// }


// Path: src/jmh/java/uk/elementarysoftware/quickcsv/benchmarks/City.java
import java.util.function.Function;
import uk.elementarysoftware.quickcsv.api.CSVRecord;
import uk.elementarysoftware.quickcsv.api.CSVRecordWithHeader;

package uk.elementarysoftware.quickcsv.benchmarks;



public class City {
    
    public static final Function<CSVRecord, City> MAPPER = City::new;
    
    public static class EnumMapper {
        
        public static enum Fields {
            AccentCity,
            Population,
            Latitude,
            Longitude
        }
        
        public static final Function<CSVRecordWithHeader<Fields>, City> MAPPER = r -> {