top.cutexingluo.tools.basepackage.function.TriConsumer 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;
/**
* TriConsumer 函数接口
*
* @author XingTian
* @version 1.0.0
* @date 2024/1/13 12:26
* @see java.util.function.BiConsumer
* @since 1.0.4
*/
public interface TriConsumer {
void accept(T t, U u, V v);
default TriConsumer andThen(TriConsumer super T, ? super U, ? super V> after) {
Objects.requireNonNull(after);
return (T t, U u, V v) -> {
accept(t, u, v);
after.accept(t, u, v);
};
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy