package com.github.markozajc.functions; import java.util.function.Function; /** * A {@link Function} variant that takes two generic types and a primitive boolean, * and returns a generic type. * * @author Marko Zajc * * @param * the type of the first argument to the function * @param * the type of the second argument to the function * @param * the type of the result of the function */ @FunctionalInterface public interface ObjObjBooleanFunction { /** * Applies this function to the given arguments. * * @param t * the first function argument * @param u * the second function argument * @param b * the third ({@code boolean}) function argument * * @return the function result */ R apply(T t, U u, boolean b); }