Interface ICUCurrencyMetaInfo.Collector<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void collect​(java.lang.String region, java.lang.String currency, long from, long to, int priority, boolean tender)
      Called with data passed by filter.
      int collects()
      A bitmask of Region/Currency/Date indicating which features we collect.
      java.util.List<T> getList()
      Return the list of unique items in the order in which we encountered them for the first time.
    • Method Detail

      • collects

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

        void collect​(java.lang.String region,
                     java.lang.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

        java.util.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