Class UnitPreferences.UnitPreferencesSink
java.lang.Object
org.graalvm.shadowed.com.ibm.icu.impl.UResource.Sink
org.graalvm.shadowed.com.ibm.icu.impl.units.UnitPreferences.UnitPreferencesSink
- Enclosing class:
UnitPreferences
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidput(UResource.Key key, UResource.Value value, boolean noFallback) The unitPreferenceData structure (see icu4c/source/data/misc/units.txt) contains a hierarchy of category/usage/region, within which are a set of preferences.
-
Constructor Details
-
UnitPreferencesSink
public UnitPreferencesSink()
-
-
Method Details
-
getMapToUnitPreferences
-
put
The unitPreferenceData structure (see icu4c/source/data/misc/units.txt) contains a hierarchy of category/usage/region, within which are a set of preferences. Hence three for-loops and another loop for the preferences themselves.- Specified by:
putin classUResource.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.
-