/external/guava/guava-gwt/src/com/google/common/collect/ |
HashBasedTable_CustomFieldSerializer.java | 39 Map<?, ?> hashMap = (Map<?, ?>) reader.readObject(); 42 for (Entry<?, ?> row : hashMap.entrySet()) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
IdentityHashMapTest.java | 28 import java.util.HashMap; 374 IdentityHashMap<String, String> hashMap = new IdentityHashMap<String, String>(); 375 hashMap.remove("absent"); 376 assertEquals("Assert 0: Size is incorrect", 0, hashMap.size()); 378 hashMap.put("key", "value"); 379 hashMap.remove("key"); 380 assertEquals("Assert 1: After removing non-null element size is incorrect", 0, hashMap.size()); 382 hashMap.put(null, null); 383 assertEquals("Assert 2: adding literal null failed", 1, hashMap.size()); 384 hashMap.remove(null) [all...] |
LinkedHashMapTest.java | 423 LinkedHashMap hashMap = new MockMap(); 425 hashMap.put("key", value); 426 MockMap cloneMap = (MockMap) hashMap.clone(); 428 assertEquals(hashMap, cloneMap); 431 hashMap.put("key", "value b"); 432 assertFalse(hashMap.equals(cloneMap));
|
EnumMapTest.java | 24 import java.util.HashMap; 196 HashMap hashColorMap = null; 204 hashColorMap = new HashMap(); 226 hashColorMap = new HashMap(); 581 HashMap hashMap = new HashMap(); 582 hashMap.put(Size.Small, 1); 583 assertFalse("Returned true for unequal EnumMap", hashMap 585 hashMap.put(Size.Big, null) [all...] |
HashMapTest.java | 30 import java.util.HashMap; 90 HashMap hm; 99 * java.util.HashMap#HashMap() 102 // Test for method java.util.HashMap() 103 new Support_MapTest2(new HashMap()).runTest(); 105 HashMap hm2 = new HashMap(); 106 assertEquals("Created incorrect HashMap", 0, hm2.size()); 110 * java.util.HashMap#HashMap(int 224 HashMap hashmap = new HashMap(); local [all...] |
/frameworks/base/media/jni/ |
android_media_Utils.cpp | 149 env, env->FindClass("java/util/HashMap")); 172 jobject hashMap = env->NewObject(hashMapClazz.get(), hashMapConstructID); 234 hashMap, 241 hashMap, 248 hashMap, 255 hashMap, 270 hashMap, hashMapPutID, keyObj, valueObj); 277 *map = hashMap;
|
android_media_MediaDrm.cpp | 124 HashmapFields hashmap; member in struct:android::fields_t 430 import java.util.HashMap; 435 HashMap<k, v> hm; 441 static KeyedVector<String8, String8> HashMapToKeyedVector(JNIEnv *env, jobject &hashMap) { 445 jobject entrySet = env->CallObjectMethod(hashMap, gFields.hashmap.entrySet); 456 "HashMap key is not a String"); 463 "HashMap value is not a String"); 486 jobject hashMap = env->NewObject(clazz, gFields.hashmap.init) [all...] |
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
ArrayMapTests.java | 24 import java.util.HashMap; 121 private static boolean compareMaps(HashMap map, ArrayMap array) { 301 Log.e("test", "HashMap of " + map.size() + " entries:"); 336 HashMap<ControlledHash, Integer> hashMap = new HashMap<ControlledHash, Integer>(); 350 oldHash = hashMap.put(key, i); 357 oldHash = hashMap.remove(key); 368 dump(hashMap, arrayMap); 377 dump(hashMap, arrayMap) [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
ArrayMapTest.java | 29 import java.util.HashMap; 148 private static void compareMaps(HashMap map, ArrayMap array) { 300 Log.e("test", "HashMap of " + map.size() + " entries:"); 336 HashMap<ControlledHash, Integer> hashMap = new HashMap<ControlledHash, Integer>(); 348 oldHash = hashMap.put(key, i); 354 oldHash = hashMap.remove(key); 365 dump(hashMap, arrayMap); 372 dump(hashMap, arrayMap) [all...] |
/packages/apps/Gallery/src/com/android/camera/gallery/ |
ImageListUber.java | 26 import java.util.HashMap; 71 public HashMap<String, String> getBucketIds() { 72 HashMap<String, String> hashMap = new HashMap<String, String>(); 74 hashMap.putAll(list.getBucketIds()); 76 return hashMap;
|
/prebuilts/tools/common/m2/repository/org/slf4j/slf4j-api/1.5.10/ |
slf4j-api-1.5.10.jar | |
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
Dictionary.cpp | 230 bool Dictionary::getOwnPropertiesAsStringHashMap(HashMap<String, String>& hashMap) const 251 hashMap.set(stringKey, stringValue);
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
NanoTest.java | 69 import java.util.HashMap; [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableBiMapTest.java | 447 Map<String, Integer> hashMap = Maps.newLinkedHashMap(); 448 hashMap.put("one", 1); 449 hashMap.put("two", 2);
|
MapsTest.java | 53 import java.util.HashMap; 80 HashMap<Integer, Integer> map = Maps.newHashMap(); 89 HashMap<String, Integer> map = Maps.newHashMap(original); 98 HashMap<Object, Object> map = 120 HashMap<Integer, Void> map1 = Maps.newHashMapWithExpectedSize(size); 134 HashMap<Integer, Void> map2 = Maps.newHashMapWithExpectedSize(size); 142 private static int sizeOf(HashMap<?, ?> hashMap) throws Exception { 143 Field tableField = HashMap.class.getDeclaredField("table"); 145 Object[] table = (Object[]) tableField.get(hashMap); [all...] |
/external/jhead/ |
main.c | 58 static void addExifAttibute(JNIEnv *env, jmethodID putMethod, jobject hashMap, char* key, char* value) { 62 jobject jobject_of_entryset = (*env)->CallObjectMethod(env, hashMap, putMethod, jkey, jvalue); 359 // // Invoke the "entrySet" method on the HashMap object 360 // jobject jobject_of_entryset = (*env)->CallObjectMethod(env, hashMap, entrySetMethod);
|
/packages/apps/Gallery/src/com/android/camera/ |
GalleryPicker.java | 66 import java.util.HashMap; 444 HashMap<String, String> hashMap = allImages.getBucketIds(); 448 for (Map.Entry<String, String> entry : hashMap.entrySet()) {
|
/libcore/luni/src/main/java/java/util/ |
IdentityHashMap.java | 26 * IdentityHashMap is a variant on HashMap which tests equality by reference 35 * collision resolution. This is different from HashMap which uses Chaining. 37 * Like HashMap, IdentityHashMap is not thread safe, so access by multiple 204 IdentityHashMap<KT, VT> hashMap() {
|
/external/robolectric/lib/main/ |
h2-1.2.147.jar | |
/external/owasp/sanitizer/tools/findbugs/lib/ |
bcel.jar | |
/prebuilts/tools/common/m2/repository/com/google/code/findbugs/bcel/2.0.1/ |
bcel-2.0.1.jar | |
/prebuilts/tools/common/m2/repository/xalan/xalan/2.6.0/ |
xalan-2.6.0.jar | |