com.github.skjolber.stcsv.column.bi.ObjBooleanConsumer 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.bi;
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, boolean)}.
*
* @param the type of the object argument to the operation
*
*/
@FunctionalInterface
public interface ObjBooleanConsumer {
/**
* Performs this operation on the given arguments.
*
* @param t the first input argument
* @param value the second input argument
*/
void accept(T t, boolean value);
}