code: private void setupCurrencyAffixForAllPatterns() {
          if (currencyPluralInfo == null) {
              currencyPluralInfo = new CurrencyPluralInfo(symbols.getULocale());
          }
          affixPatternsForCurrency = new HashSet<AffixForCurrency>();
  
          // save the current pattern, since it will be changed by
          // applyPatternWithoutExpandAffix
          String savedFormatPattern = formatPattern;
  
          // CURRENCYSTYLE and ISOCURRENCYSTYLE should have the same prefix and suffix, so,
          // only need to save one of them.  Here, chose onlyApplyPatternWithoutExpandAffix
          // without saving the actualy pattern in 'pattern' data member.  TODO: is it uloc?
          applyPatternWithoutExpandAffix(getPattern(symbols.getULocale(), NumberFormat.CURRENCYSTYLE),
                                         false);
          AffixForCurrency affixes = new AffixForCurrency(
              negPrefixPattern, negSuffixPattern, posPrefixPattern, posSuffixPattern,
              Currency.SYMBOL_NAME);
          affixPatternsForCurrency.add(affixes);
  
          // add plural pattern
          Iterator<String> iter = currencyPluralInfo.pluralPatternIterator();
          Set<String> currencyUnitPatternSet = new HashSet<String>();
          while (iter.hasNext()) {
              String pluralCount = iter.next();
              String currencyPattern = currencyPluralInfo.getCurrencyPluralPattern(pluralCount);
              if (currencyPattern != null &&
                  currencyUnitPatternSet.contains(currencyPattern) == false) {
                  currencyUnitPatternSet.add(currencyPattern);
                  applyPatternWithoutExpandAffix(currencyPattern, false);
                  affixes = new AffixForCurrency(negPrefixPattern, negSuffixPattern, posPrefixPattern,
                                                 posSuffixPattern, Currency.LONG_NAME);
                  affixPatternsForCurrency.add(affixes);
              }
          }
          // reset pattern back
          formatPattern = savedFormatPattern;
      }
docs: currency plural pattern (CurrencyUnitPatterns).