docs: @SuppressWarnings("cast")
      public MoneyFormatter toFormatter(Locale locale) {
          MoneyFormatter.checkNotNull(locale, "Locale must not be null");
          MoneyPrinter[] printersCopy = (MoneyPrinter[]) printers.toArray(new MoneyPrinter[printers.size()]);
          MoneyParser[] parsersCopy = (MoneyParser[]) parsers.toArray(new MoneyParser[parsers.size()]);
          return new MoneyFormatter(locale, printersCopy, parsersCopy);
      }