接口 Customizer<T>
-
- 类型参数:
T- the type of the input to the operation
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
@FunctionalInterface public interface Customizer<T>
Callback interface that accepts a single input argument and returns no result.
-
-
方法概要
所有方法 静态方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidcustomize(T t)Performs the customizations on the input argument.static <T> Customizer<T>withDefaults()Returns aCustomizerthat does not alter the input argument.
-
-
-
方法详细资料
-
customize
void customize(T t)
Performs the customizations on the input argument.- 参数:
t- the input argument
-
withDefaults
static <T> Customizer<T> withDefaults()
Returns aCustomizerthat does not alter the input argument.- 返回:
- a
Customizerthat does not alter the input argument.
-
-