Package com.ibm.icu.impl
Class ICUCurrencyMetaInfo.CurrencyCollector
java.lang.Object
com.ibm.icu.impl.ICUCurrencyMetaInfo.CurrencyCollector
- All Implemented Interfaces:
ICUCurrencyMetaInfo.Collector<String>
- Enclosing class:
ICUCurrencyMetaInfo
private static class ICUCurrencyMetaInfo.CurrencyCollector
extends Object
implements ICUCurrencyMetaInfo.Collector<String>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
result
-
-
Constructor Details
-
CurrencyCollector
private CurrencyCollector()
-
-
Method Details
-
collect
public void collect(String region, String currency, long from, long to, int priority, boolean tender) Description copied from interface:ICUCurrencyMetaInfo.Collector
Called with data passed by filter. Values not collected by filter should be ignored.- Specified by:
collect
in interfaceICUCurrencyMetaInfo.Collector<String>
- 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.
-
collects
public int collects()Description copied from interface:ICUCurrencyMetaInfo.Collector
A bitmask of Region/Currency/Date indicating which features we collect.- Specified by:
collects
in interfaceICUCurrencyMetaInfo.Collector<String>
- Returns:
- the bitmask
-
getList
Description copied from interface:ICUCurrencyMetaInfo.Collector
Return the list of unique items in the order in which we encountered them for the first time. The returned list is unmodifiable.- Specified by:
getList
in interfaceICUCurrencyMetaInfo.Collector<String>
- Returns:
- the list
-