Home
last modified time | relevance | path

Searched refs:hashMap (Results 1 – 12 of 12) sorted by relevance

/external/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/
DVerifierFactory.java39 private static final Map<String, Verifier> hashMap = new HashMap<>(); field in VerifierFactory
59 Verifier v = hashMap.get(fully_qualified_classname); in getVerifier()
62 hashMap.put(fully_qualified_classname, v); in getVerifier()
88 final Verifier[] vs = new Verifier[hashMap.values().size()]; in getVerifiers()
89 …return hashMap.values().toArray(vs); // Because vs is big enough, vs is used to store the values i… in getVerifiers()
/external/caliper/caliper/src/main/java/com/google/caliper/json/
DImmutableMapTypeAdapterFactory.java56 HashMap<?, ?> hashMap = Maps.newHashMap((Map<?, ?>) value); in create()
57 hashMapAdapter.write(out, hashMap); in create()
61 HashMap<?, ?> hashMap = hashMapAdapter.read(in); in create() local
62 return (T) ImmutableMap.copyOf(hashMap); in create()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/
DContentMetadataMutations.java127 HashMap<String, Object> hashMap = new HashMap<>(editedValues); in getEditedValues() local
128 for (Entry<String, Object> entry : hashMap.entrySet()) { in getEditedValues()
135 return Collections.unmodifiableMap(hashMap); in getEditedValues()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DUnicodeMapTest.java263 HashMap hashMap = new HashMap(); in TestModify() local
285 hashMap.put(new Integer(i), value); in TestModify()
287 if (!hasSameValues(unicodeMap, hashMap)) { in TestModify()
293 private boolean hasSameValues(UnicodeMap unicodeMap, HashMap hashMap) { in hasSameValues() argument
296 Object hashMapValue = hashMap.get(new Integer(i)); in hasSameValues()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DUnicodeMapTest.java266 HashMap hashMap = new HashMap(); in TestModify() local
288 hashMap.put(new Integer(i), value); in TestModify()
290 if (!hasSameValues(unicodeMap, hashMap)) { in TestModify()
296 private boolean hasSameValues(UnicodeMap unicodeMap, HashMap hashMap) { in hasSameValues() argument
299 Object hashMapValue = hashMap.get(new Integer(i)); in hasSameValues()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DLanguageTest.java88 public void addMap(HashMap<String, Map<Type, String>> hashMap, in addMap() argument
90 Map<Type, String> old = hashMap.get(language); in addMap()
92 hashMap.put(language, old = new EnumMap<Type, String>(Type.class)); in addMap()
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java3360 HashMap<MessageNano, String> hashMap = new HashMap<MessageNano, String>(); in testHashCodeEquals() local
3361 hashMap.put(a, "a"); in testHashCodeEquals()
3362 hashMap.put(b, "b"); in testHashCodeEquals()
3363 hashMap.put(c, "c"); in testHashCodeEquals()
3364 hashMap.put(d, "d"); in testHashCodeEquals()
3365 hashMap.put(e, "e"); in testHashCodeEquals()
3366 hashMap.put(f, "f"); in testHashCodeEquals()
3367 hashMap.put(g, "g"); in testHashCodeEquals()
3368 hashMap.put(h, "h"); in testHashCodeEquals()
3369 hashMap.put(i, "i"); in testHashCodeEquals()
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DImmutableBiMapTest.java470 Map<String, Integer> hashMap = Maps.newLinkedHashMap(); in testFromHashMap() local
471 hashMap.put("one", 1); in testFromHashMap()
472 hashMap.put("two", 2); in testFromHashMap()
DMapsTest.java174 private static int bucketsOf(HashMap<?, ?> hashMap) throws Exception { in bucketsOf() argument
177 Object[] table = (Object[]) tableField.get(hashMap); in bucketsOf()
/external/cldr/tools/java/org/unicode/cldr/draft/
DScriptMetadata.java124 public static void addNameToCode(String type, Map<String, String> hashMap) { in addNameToCode() argument
128 hashMap.put(name.toUpperCase(Locale.ENGLISH), language); in addNameToCode()
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableBiMapTest.java501 Map<String, Integer> hashMap = Maps.newLinkedHashMap(); in testFromHashMap() local
502 hashMap.put("one", 1); in testFromHashMap()
503 hashMap.put("two", 2); in testFromHashMap()
DMapsTest.java174 private static int bucketsOf(HashMap<?, ?> hashMap) throws Exception { in bucketsOf() argument
177 Object[] table = (Object[]) tableField.get(hashMap); in bucketsOf()