接口 ValueComposer<T,U>

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

@FunctionalInterface public interface ValueComposer<T,U>
  • 方法详细资料

    • accept

      void accept(@NotNull @NotNull ConfigurationHolder<?> holder, @NotNull T type, @NotNull U data) throws Exception
      Accept the value and the data, and then compose the value.
      参数:
      holder - The configuration holder
      type - The value type, e.g. List, Map, etc.
      data - The unit data
      抛出:
      Exception - If an error occurs
    • andThen

      default ValueComposer<T,U> andThen(ValueComposer<? super T,? super U> after)