code: public static Set<Currency> getAvailableCurrencies() {
          CurrencyMetaInfo info = CurrencyMetaInfo.getInstance();
          List<String> list = info.currencies(CurrencyFilter.all());
          HashSet<Currency> resultSet = new HashSet<Currency>(list.size());
          for (String code : list) {
              resultSet.add(getInstance(code));
          }
          return resultSet;
      }
docs: Returns the set of available currencies. The returned set of currencies contains all of the
  available currencies, including obsolete ones. The result set can be modified without
  affecting the available currencies in the runtime.
  
  @return The set of available currencies. The returned set could be empty if there is no
  currency data available.