接口 Customizer<T>

  • 函数接口:
    这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

    @FunctionalInterface
    public interface Customizer<T>
    • 方法详细资料

      • customize

        void customize​(T t)
        Performs the customizations on the input argument.
        参数:
        t - the input argument
      • withDefaults

        static <T> Customizer<T> withDefaults()
        Returns a Customizer that does not alter the input argument.
        类型参数:
        T - the type of customizer obj
        返回:
        a Customizer that does not alter the input argument.