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