Package com.ibm.icu.impl
Interface ICUCurrencyMetaInfo.Collector<T>
- All Known Implementing Classes:
ICUCurrencyMetaInfo.CurrencyCollector
,ICUCurrencyMetaInfo.InfoCollector
,ICUCurrencyMetaInfo.RegionCollector
- Enclosing class:
ICUCurrencyMetaInfo
private static interface ICUCurrencyMetaInfo.Collector<T>
-
Method Details
-
collects
int collects()A bitmask of Region/Currency/Date indicating which features we collect.- Returns:
- the bitmask
-
collect
Called with data passed by filter. Values not collected by filter should be ignored.- Parameters:
region
- the region code (null if ignored)currency
- the currency code (null if ignored)from
- start time (0 if ignored)to
- end time (0 if ignored)priority
- priority (-1 if ignored)tender
- true if currency is legal tender.
-
getList
Return the list of unique items in the order in which we encountered them for the first time. The returned list is unmodifiable.- Returns:
- the list
-