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

org.simpleflatmapper.csv.getter.CsvBoxedLongGetter Maven / Gradle / Ivy

package org.simpleflatmapper.csv.getter;

import org.simpleflatmapper.converter.Context;
import org.simpleflatmapper.csv.CsvRow;
import org.simpleflatmapper.map.getter.ContextualGetter;

public class CsvBoxedLongGetter implements ContextualGetter {
    public final int index;

    public CsvBoxedLongGetter(int index) {
        this.index = index;
    }

    @Override
    public Long get(CsvRow target, Context context)  {
        return target.getBoxedLong(index);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy