top.cutexingluo.tools.basepackage.function.TriFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xingtools-core Show documentation
Show all versions of xingtools-core Show documentation
xingtools 核心,包括各种接口,实体类和工具类
package top.cutexingluo.tools.basepackage.function;
import java.util.Objects;
import java.util.function.Function;
/**
* TriFunction 函数接口
*
* @author XingTian
* @version 1.0.0
* @date 2024/1/13 12:21
* @see java.util.function.BiFunction
* @since 1.0.4
*/
@FunctionalInterface
public interface TriFunction {
R apply(T t, U u, V v);
default TriFunction andThen(Function super R, ? extends W> after) {
Objects.requireNonNull(after);
return (T t, U u, V v) -> after.apply(apply(t, u, v));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy