@CheckReturnValue
    public <G> FluentGenerator<G> transform(@Nonnull Function<T, G> function) {
        return from(new TransformingGenerator<>(delegate, checkNotNull(function)));
    }
@ CheckReturnValue public < G > FluentGenerator < G > transform ( @ Nonnull Function < T , G > function ) { return from ( new TransformingGenerator < > ( delegate , checkNotNull ( function ) ) ) ; }
Returns generator that transforms generated values from <T> to <G> using provided {@code function}

@param function used for the transformation
@param <G>      result of the transformation
@return FluentGenerator doing transformation
@see io.generators.core.TransformingGenerator