com.github.skjolber.stcsv.column.tri.DoubleCsvColumnValueTriConsumer 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.DoubleCsvColumnValueConsumer;
public class DoubleCsvColumnValueTriConsumer implements CsvColumnValueTriConsumer {
protected final ObjDoubleTriConsumer setter;
public DoubleCsvColumnValueTriConsumer(ObjDoubleTriConsumer setter) {
this.setter = setter;
}
public void consume(T object, I intermediate, char[] array, int start, int end) {
setter.accept(object, intermediate, DoubleCsvColumnValueConsumer.parseDouble(array, start, end));
}
}