com.github.skjolber.stcsv.column.tri.IntCsvColumnValueTriConsumer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of databinder Show documentation
Show all versions of databinder Show documentation
High-performance CSV databinding library
package com.github.skjolber.stcsv.column.tri;
import com.github.skjolber.stcsv.column.bi.IntCsvColumnValueConsumer;
public class IntCsvColumnValueTriConsumer implements CsvColumnValueTriConsumer {
protected final ObjIntTriConsumer setter;
public IntCsvColumnValueTriConsumer(ObjIntTriConsumer setter) {
this.setter = setter;
}
public void consume(T object, I intermediate, char[] array, int start, int end) {
setter.accept(object, intermediate, IntCsvColumnValueConsumer.parseInt(array, start, end));
}
}