code: public static <R> Func0<R> toFunc(final Action0 action, final R result) {
          return new Func0<R>() {
              @Override
              public R call() {
                  action.call();
                  return result;
              }
          };
      }
docs: Converts an {@link Action0} to a function that calls the action and returns a specified value.
  
  @param action the {@link Action0} to convert
  @param result the value to return from the function call
  @return a {@link Func0} that calls {@code action} and returns {@code result}