code: public static Function<String, String> toUpperCase(@Nonnull Locale locale) {
          return new ToUpperCaseFunction(checkNotNull(locale));
      }
docs: Creates function that converts inputs to uppercase using provided {@code locale}
  
  @param locale to use for case conversion
  @return the function