code: @Override
      public void setCurrency(Currency currency) {
          if (currency != symbols.getCurrency()
              // J2ObjC: Added to be consistent with Android behavior.
              || !currency.getSymbol().equals(symbols.getCurrencySymbol())) {
              symbols.setCurrency(currency);
              if (isCurrencyFormat) {
                  expandAffixes();
              }
          }
          fastPathCheckNeeded = true;
      }
docs: Sets the currency used by this number format when formatting
  currency values. This does not update the minimum or maximum
  number of fraction digits used by the number format.
  The currency is set by calling
  {@link DecimalFormatSymbols#setCurrency DecimalFormatSymbols.setCurrency}
  on this number format's symbols.
  
  @param currency the new currency to be used by this decimal format
  @exception NullPointerException if <code>currency</code> is null
  @since 1.4