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

com.github.skjolber.stcsv.column.tri.BooleanCsvColumnValueTriConsumer Maven / Gradle / Ivy

There is a newer version: 1.0.25
Show newest version
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)
				);
		
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy