public static <T> FunctionToTransformerAdapter<T> of(Function<T, T> function) {
    return new FunctionToTransformerAdapter<>(function);
  }
public static < T > FunctionToTransformerAdapter < T > of ( Function < T , T > function ) { return new FunctionToTransformerAdapter < > ( function ) ; }
Factory method use to construct a new instance of {@link FunctionToTransformerAdapter} initialized with
the given {@link Function} to adapt as an instance of the {@link Transformer} interface.

@param <T> {@link Class type} of {@link Object objects} processed by the {@link Function}.
@param function {@link Function} to adapt as a {@link Transformer}.
@return a new instance of {@link FunctionToTransformerAdapter} initialized with the given {@link Function}
to adapt as a {@link Transformer}.
@throws IllegalArgumentException if {@link Function} is {@literal null}.
@see #FunctionToTransformerAdapter(Function)
@see java.util.function.Function