Class TimeUnitFormat.TimeUnitFormatSetupSink

    • Constructor Summary

      Constructors 
      Constructor Description
      TimeUnitFormatSetupSink​(java.util.Map<TimeUnit,​java.util.Map<java.lang.String,​java.lang.Object[]>> timeUnitToCountToPatterns, int style, java.util.Set<java.lang.String> pluralKeywords, ULocale locale)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void put​(UResource.Key key, UResource.Value value, boolean noFallback)
      Called once for each bundle (child-parent-...-root).
      • Methods inherited from class java.lang.Object

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

      • timeUnitToCountToPatterns

        java.util.Map<TimeUnit,​java.util.Map<java.lang.String,​java.lang.Object[]>> timeUnitToCountToPatterns
      • style

        int style
      • pluralKeywords

        java.util.Set<java.lang.String> pluralKeywords
      • beenHere

        boolean beenHere
    • Constructor Detail

      • TimeUnitFormatSetupSink

        TimeUnitFormatSetupSink​(java.util.Map<TimeUnit,​java.util.Map<java.lang.String,​java.lang.Object[]>> timeUnitToCountToPatterns,
                                int style,
                                java.util.Set<java.lang.String> pluralKeywords,
                                ULocale locale)
    • Method Detail

      • put

        public void put​(UResource.Key key,
                        UResource.Value value,
                        boolean noFallback)
        Description copied from class: UResource.Sink
        Called once for each bundle (child-parent-...-root). The value is normally an array or table resource, and implementations of this method normally iterate over the tree of resource items stored there.
        Specified by:
        put in class UResource.Sink
        Parameters:
        key - Initially the key string of the enumeration-start resource. Empty if the enumeration starts at the top level of the bundle. Reuse for output values from Array and Table getters.
        value - Call getArray() or getTable() as appropriate. Then reuse for output values from Array and Table getters.
        noFallback - true if the bundle has no parent; that is, its top-level table has the nofallback attribute, or it is the root bundle of a locale tree.