All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.simpleflatmapper.csv.impl.IdentityCsvColumnDefinitionProvider Maven / Gradle / Ivy

package org.simpleflatmapper.csv.impl;

import org.simpleflatmapper.csv.CsvColumnKey;
import org.simpleflatmapper.map.mapper.ColumnDefinitionProvider;
import org.simpleflatmapper.map.property.FieldMapperColumnDefinition;
import org.simpleflatmapper.util.BiConsumer;
import org.simpleflatmapper.util.Predicate;

public class IdentityCsvColumnDefinitionProvider implements ColumnDefinitionProvider {
    @Override
    public FieldMapperColumnDefinition getColumnDefinition(CsvColumnKey key) {
        return FieldMapperColumnDefinition.identity();
}

    @Override
    public , CP>> BC forEach(Class propertyType, BC consumer) {
        return consumer;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy