Home
last modified time | relevance | path

Searched refs:keyValuePairs (Results 1 – 4 of 4) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/api/
DCldrPath.java174 private static ImmutableList<String> checkKeyValuePairs(List<String> keyValuePairs) { in checkKeyValuePairs() argument
177 checkArgument((keyValuePairs.size() & 1) == 0, in checkKeyValuePairs()
178 "key/value pairs must have an even number of elements: %s", keyValuePairs); in checkKeyValuePairs() local
179 for (int n = 0; n < keyValuePairs.size(); n += 2) { in checkKeyValuePairs()
180 checkValidName(keyValuePairs.get(n), "attribute"); in checkKeyValuePairs()
181 String v = keyValuePairs.get(n + 1); in checkKeyValuePairs()
184 return ImmutableList.copyOf(keyValuePairs); in checkKeyValuePairs()
194 List<String> keyValuePairs, /* Nullable */ CldrDraftStatus draftStatus) { in matchesContent() argument
197 && this.attributeKeyValuePairs.equals(keyValuePairs) in matchesContent()
DCldrPaths.java297 List<String> keyValuePairs = new ArrayList<>(); in processXPath() local
299 keyValuePairs.add(e.getKey()); in processXPath()
300 keyValuePairs.add(e.getValue()); in processXPath()
334 keyValuePairs.clear(); in processXPath()
352 if (p.matchesContent(elementName, sortIndex, keyValuePairs, draftStatus)) { in processXPath()
369 path = new CldrPath(path, elementName, keyValuePairs, dtdType, draftStatus, sortIndex); in processXPath()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTrieMap.java58 … static public <K extends CharSequence, V> Builder<V> with(Style style, Map<K, V> keyValuePairs) { in with() argument
59 return with(style, Option.SMALL, keyValuePairs); in with()
62 … <K extends CharSequence, V> Builder<V> with(Style style, Option option, Map<K, V> keyValuePairs) { in with() argument
66 return result.addAll(keyValuePairs); in with()
82 public abstract <K extends CharSequence> Builder<V> addAll(Map<K, V> keyValuePairs); in addAll() argument
317 public <K extends CharSequence> BytesBuilder<V> addAll(Map<K, V> keyValuePairs) { in addAll() argument
318 for (Entry<K, V> entry : keyValuePairs.entrySet()) { in addAll()
479 public <K extends CharSequence> CharsBuilder<V> addAll(Map<K, V> keyValuePairs) { in addAll() argument
480 for (Entry<K, V> entry : keyValuePairs.entrySet()) { in addAll()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTrieMap.java59 … static public <K extends CharSequence, V> Builder<V> with(Style style, Map<K, V> keyValuePairs) { in with() argument
60 return with(style, Option.SMALL, keyValuePairs); in with()
63 … <K extends CharSequence, V> Builder<V> with(Style style, Option option, Map<K, V> keyValuePairs) { in with() argument
67 return result.addAll(keyValuePairs); in with()
83 public abstract <K extends CharSequence> Builder<V> addAll(Map<K, V> keyValuePairs); in addAll() argument
318 public <K extends CharSequence> BytesBuilder<V> addAll(Map<K, V> keyValuePairs) { in addAll() argument
319 for (Entry<K, V> entry : keyValuePairs.entrySet()) { in addAll()
480 public <K extends CharSequence> CharsBuilder<V> addAll(Map<K, V> keyValuePairs) { in addAll() argument
481 for (Entry<K, V> entry : keyValuePairs.entrySet()) { in addAll()