Home
last modified time | relevance | path

Searched refs:UnitId (Results 1 – 5 of 5) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/util/
DUnitConverter.java71 private ImmutableMap<String, UnitId> idToUnitId;
139 Map<String, UnitId> _idToUnitId = new TreeMap<>(); in freeze()
143 UnitId uid = createUnitId(shortId).freeze(); in freeze()
439 Map<UnitId, String> unitIdToQuantity = new TreeMap<>(); in getQuantityComparator()
441UnitId uid = new UnitId(simpleBaseUnitComparator).add(continuations, buq.getKey(), true, 1).freeze… in getQuantityComparator()
513 UnitId outputUnit = new UnitId(UNIT_COMPARATOR); in parseUnitId()
651 public class UnitId implements Freezable<UnitId>, Comparable<UnitId> { class in UnitConverter
657 private UnitId(Comparator<String> comparator) { in UnitId() method in UnitConverter.UnitId
663 …private UnitId add(Multimap<String, Continuation> continuations, String compoundUnit, boolean grou… in add()
889 UnitId other = (UnitId) obj; in equals()
[all …]
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckUnits.java16 import org.unicode.cldr.util.UnitConverter.UnitId;
119 final UnitId unitId = unitConverter.createUnitId(shortUnitId); in handleCheck()
DExampleGenerator.java46 import org.unicode.cldr.util.UnitConverter.UnitId;
618 final UnitId unitId = uc.createUnitId(shortUnitId); in handleFormatUnit()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestUnits.java72 import org.unicode.cldr.util.UnitConverter.UnitId;
458 UnitId unitId = converter.createUnitId(canonicalUnit); in TestUnitId()
471 UnitId unitId = converter.createUnitId(baseUnit); in TestUnitId()
486 UnitId unitId = converter.createUnitId(baseUnit); in TestUnitId()
1839 final UnitId unitId = converter.createUnitId(shortUnitId); in TestGender()
1911 final UnitId unitId = converter.createUnitId(shortUnitId); in TestFallbackNames()
1949 final UnitId unitId = converter.createUnitId(shortUnitId); in TestFileFallbackNames()
2129 UnitId unitId = converter.createUnitId(shortId); in TestGenderOfCompounds()
/external/cldr/tools/java/org/unicode/cldr/tool/
DChartGrammaticalForms.java44 import org.unicode.cldr.util.UnitConverter.UnitId;
521 final UnitId unitId = uc.createUnitId(bestUnit); in getBestBaseUnit()