Interface ICUCurrencyMetaInfo.Collector<T>

All Known Implementing Classes:
ICUCurrencyMetaInfo.CurrencyCollector, ICUCurrencyMetaInfo.InfoCollector, ICUCurrencyMetaInfo.RegionCollector
Enclosing class:
ICUCurrencyMetaInfo

private static interface ICUCurrencyMetaInfo.Collector<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    collect(String region, String currency, long from, long to, int priority, boolean tender)
    Called with data passed by filter.
    int
    A bitmask of Region/Currency/Date indicating which features we collect.
    Return the list of unique items in the order in which we encountered them for the first time.
  • Method Details

    • collects

      int collects()
      A bitmask of Region/Currency/Date indicating which features we collect.
      Returns:
      the bitmask
    • collect

      void collect(String region, String currency, long from, long to, int priority, boolean tender)
      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

      List<T> 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