Class ICUCurrencyMetaInfo.CurrencyCollector

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private CurrencyCollector()  
    • Method Summary

      All Methods Instance Methods Concrete 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<java.lang.String> getList()
      Return the list of unique items in the order in which we encountered them for the first time.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CurrencyCollector

        private CurrencyCollector()
    • Method Detail

      • collect

        public void collect​(java.lang.String region,
                            java.lang.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 interface ICUCurrencyMetaInfo.Collector<java.lang.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.
      • getList

        public java.util.List<java.lang.String> 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 interface ICUCurrencyMetaInfo.Collector<java.lang.String>
        Returns:
        the list