Home
last modified time | relevance | path

Searched refs:hashMap (Results 1 – 11 of 11) 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/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.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/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/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/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/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 …]
/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/cldr/tools/java/org/unicode/cldr/draft/
DScriptMetadata.java123 public static void addNameToCode(String type, Map<String, String> hashMap) { in addNameToCode() argument
127 hashMap.put(name.toUpperCase(Locale.ENGLISH), language); in addNameToCode()