Searched refs:UnitComplexity (Results 1 – 2 of 2) sorted by relevance
1384 public enum UnitComplexity {simple, non_simple} enum in UnitConverter1386 private ConcurrentHashMap<String, UnitComplexity> COMPLEXITY = new ConcurrentHashMap<>();1389 public UnitComplexity getComplexity (String longOrShortId){ in getComplexity()1390 UnitComplexity result = COMPLEXITY.get(longOrShortId); in getComplexity()1401 result = UnitComplexity.simple; in getComplexity()1404 result = UnitComplexity.non_simple; in getComplexity()1411 result = UnitComplexity.non_simple; in getComplexity()1415 if (result == UnitComplexity.simple) { in getComplexity()1420 result = UnitComplexity.non_simple; in getComplexity()1433 return getComplexity(x) == UnitComplexity.simple; in isSimple()
71 import org.unicode.cldr.util.UnitConverter.UnitComplexity;1941 if (converter.getComplexity(shortUnitId) == UnitComplexity.simple) { in TestFileFallbackNames()