public static class UnitPreferences.UnitPreferencesSink extends UResource.Sink
| Constructor and Description |
|---|
UnitPreferencesSink() |
| Modifier and Type | Method and Description |
|---|---|
HashMap<String,HashMap<String,UnitPreferences.UnitPreference[]>> |
getMapToUnitPreferences() |
void |
put(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.
|
public HashMap<String,HashMap<String,UnitPreferences.UnitPreference[]>> getMapToUnitPreferences()
public void put(UResource.Key key, UResource.Value value, boolean noFallback)
put in class UResource.Sinkkey - 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.