Home
last modified time | relevance | path

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

/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/guava/guava-gwt/src/com/google/common/collect/
DTable_CustomFieldSerializerBase.java35 Map<?, ?> hashMap = (Map<?, ?>) reader.readObject(); in populate() local
36 for (Entry<?, ?> row : hashMap.entrySet()) { in populate()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DUnicodeMapTest.java260 HashMap hashMap = new HashMap(); in TestModify() local
282 hashMap.put(new Integer(i), value); in TestModify()
284 if (!hasSameValues(unicodeMap, hashMap)) { in TestModify()
290 private boolean hasSameValues(UnicodeMap unicodeMap, HashMap hashMap) { in hasSameValues() argument
293 Object hashMapValue = hashMap.get(new Integer(i)); in hasSameValues()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DUnicodeMapTest.java259 HashMap hashMap = new HashMap(); in TestModify() local
281 hashMap.put(new Integer(i), value); in TestModify()
283 if (!hasSameValues(unicodeMap, hashMap)) { in TestModify()
289 private boolean hasSameValues(UnicodeMap unicodeMap, HashMap hashMap) { in hasSameValues() argument
292 Object hashMapValue = hashMap.get(new Integer(i)); in hasSameValues()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DImmutableBiMapTest.java348 Map<String, Integer> hashMap = Maps.newLinkedHashMap(); in testFromHashMap() local
349 hashMap.put("one", 1); in testFromHashMap()
350 hashMap.put("two", 2); in testFromHashMap()
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableBiMapTest.java389 Map<String, Integer> hashMap = Maps.newLinkedHashMap(); in testFromHashMap() local
390 hashMap.put("one", 1); in testFromHashMap()
391 hashMap.put("two", 2); in testFromHashMap()
DMapsTest.java155 private static int bucketsOf(HashMap<?, ?> hashMap) throws Exception { in bucketsOf() argument
158 Object[] table = (Object[]) tableField.get(hashMap); in bucketsOf()
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java3361 HashMap<MessageNano, String> hashMap = new HashMap<MessageNano, String>(); in testHashCodeEquals() local
3362 hashMap.put(a, "a"); in testHashCodeEquals()
3363 hashMap.put(b, "b"); in testHashCodeEquals()
3364 hashMap.put(c, "c"); in testHashCodeEquals()
3365 hashMap.put(d, "d"); in testHashCodeEquals()
3366 hashMap.put(e, "e"); in testHashCodeEquals()
3367 hashMap.put(f, "f"); in testHashCodeEquals()
3368 hashMap.put(g, "g"); in testHashCodeEquals()
3369 hashMap.put(h, "h"); in testHashCodeEquals()
3370 hashMap.put(i, "i"); in testHashCodeEquals()
[all …]