com.github.skjolber.stcsv.column.tri.ObjBooleanTriConsumer 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 java.util.function.BiConsumer;
/**
* Represents an operation that accepts an object-valued and a
* {@code boolean}-valued argument, and returns no result. This is the
* {@code (reference, boolean)} specialization of {@link BiConsumer}.
* Unlike most other functional interfaces, {@code ObjBooleanConsumer} is
* expected to operate via side-effects.
*
* This is a functional interface
* whose functional method is {@link #accept(Object, Object, boolean)}.
*
* @param the type of the object argument to the operation
* @param intermediate helper / processor
*
*/
@FunctionalInterface
public interface ObjBooleanTriConsumer {
/**
* Performs this operation on the given arguments.
*
* @param t the first input argument
* @param intermediate intermediate helper / processor
* @param value the second input argument
*/
void accept(T t, I intermediate, boolean value);
}