/** * Returns the target locales. * * @return the target locales, never null. */ public Collection<Locale> getCountries() { Collection<Locale> result = get(KEY_QUERY_COUNTRIES, Collection.class); if (result == null) { return Collections.emptySet(); } return result; }
/** * Gets the currency codes, or the regular expression to select codes. * * @return the query for chaining. */ public Collection<String> getCurrencyCodes() { Collection<String> result = get(KEY_QUERY_CURRENCY_CODES, Collection.class); if (result == null) { return Collections.emptySet(); } return result; }
/** * Gets the numeric codes. Setting it to -1 search for currencies that have no numeric code. * * @return the query for chaining. */ public Collection<Integer> getNumericCodes() { Collection<Integer> result = get(KEY_QUERY_NUMERIC_CODES, Collection.class); if (result == null) { return Collections.emptySet(); } return result; }