/libcore/luni/src/test/java/tests/api/java/util/ |
IdentityHashMapTest.java | 67 IdentityHashMap hm2 = new IdentityHashMap(); local 68 assertEquals("Created incorrect IdentityHashMap", 0, hm2.size()); 76 IdentityHashMap hm2 = new IdentityHashMap(5); local 77 assertEquals("Created incorrect IdentityHashMap", 0, hm2.size()); 99 IdentityHashMap hm2 = new IdentityHashMap(myMap); local 102 .get(objArray2[counter]) == hm2.get(objArray2[counter])); 105 hm2 = new IdentityHashMap(mockMap); 106 assertEquals("Size should be 0", 0, hm2.size()); 134 IdentityHashMap hm2 = (IdentityHashMap) hm.clone(); local 135 assertTrue("Clone answered equivalent IdentityHashMap", hm2 != hm) 321 IdentityHashMap hm2 = new IdentityHashMap(); local [all...] |
HashMapTest.java | 60 HashMap hm2 = new HashMap(); local 61 assertEquals("Created incorrect HashMap", 0, hm2.size()); 69 HashMap hm2 = new HashMap(5); local 70 assertEquals("Created incorrect HashMap", 0, hm2.size()); 89 HashMap hm2 = new HashMap(5, (float) 0.5); local 90 assertEquals("Created incorrect HashMap", 0, hm2.size()); 112 HashMap hm2 = new HashMap(myMap); local 115 .get(objArray2[counter]) == hm2.get(objArray2[counter])); 140 HashMap hm2 = (HashMap) hm.clone(); local 141 assertTrue("Clone answered equivalent HashMap", hm2 != hm) 366 HashMap hm2 = new HashMap(); local [all...] |
LinkedHashMapTest.java | 71 LinkedHashMap hm2 = new LinkedHashMap(); local 72 assertEquals("Created incorrect LinkedHashMap", 0, hm2.size()); 80 LinkedHashMap hm2 = new LinkedHashMap(5); local 81 assertEquals("Created incorrect LinkedHashMap", 0, hm2.size()); 101 LinkedHashMap hm2 = new LinkedHashMap(5, (float) 0.5); local 102 assertEquals("Created incorrect LinkedHashMap", 0, hm2.size()); 125 LinkedHashMap hm2 = new LinkedHashMap(myMap); local 128 .get(objArray2[counter]) == hm2.get(objArray2[counter])); 189 LinkedHashMap hm2 = new LinkedHashMap(); local 190 hm2.putAll(hm) 365 LinkedHashMap hm2 = (LinkedHashMap) hm.clone(); local 405 LinkedHashMap<String, String> hm2 = (LinkedHashMap<String, String>) hm1.clone(); local [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
IdentityHashMap2Test.java | 75 IdentityHashMap hm2 = new IdentityHashMap(); local 76 assertEquals("Created incorrect IdentityHashMap", 0, hm2.size()); 84 IdentityHashMap hm2 = new IdentityHashMap(5); local 85 assertEquals("Created incorrect IdentityHashMap", 0, hm2.size()); 108 IdentityHashMap hm2 = new IdentityHashMap(myMap); local 111 .get(objArray2[counter]) == hm2.get(objArray2[counter])); 114 hm2 = new IdentityHashMap(mockMap); 115 assertEquals("Size should be 0", 0, hm2.size()); 145 IdentityHashMap hm2 = (IdentityHashMap) hm.clone(); local 146 assertTrue("Clone answered equivalent IdentityHashMap", hm2 != hm) 332 IdentityHashMap hm2 = new IdentityHashMap(); local [all...] |
HashMapTest.java | 119 HashMap hm2 = new HashMap(); local 120 assertEquals("Created incorrect HashMap", 0, hm2.size()); 128 HashMap hm2 = new HashMap(5); local 129 assertEquals("Created incorrect HashMap", 0, hm2.size()); 149 HashMap hm2 = new HashMap(5, (float) 0.5); local 150 assertEquals("Created incorrect HashMap", 0, hm2.size()); 173 HashMap hm2 = new HashMap(myMap); local 176 .get(objArray2[counter]) == hm2.get(objArray2[counter])); 220 HashMap hm2 = (HashMap) hm.clone(); local 221 assertTrue("Clone answered equivalent HashMap", hm2 != hm) 519 HashMap hm2 = new HashMap(); local [all...] |
LinkedHashMapTest.java | 82 LinkedHashMap hm2 = new LinkedHashMap(); local 83 assertEquals("Created incorrect LinkedHashMap", 0, hm2.size()); 91 LinkedHashMap hm2 = new LinkedHashMap(5); local 92 assertEquals("Created incorrect LinkedHashMap", 0, hm2.size()); 110 LinkedHashMap hm2 = new LinkedHashMap(5, (float) 0.5); local 111 assertEquals("Created incorrect LinkedHashMap", 0, hm2.size()); 132 LinkedHashMap hm2 = new LinkedHashMap(myMap); local 135 .get(objArray2[counter]) == hm2.get(objArray2[counter])); 182 LinkedHashMap hm2 = new LinkedHashMap(); local 183 hm2.putAll(hm) 344 LinkedHashMap hm2 = (LinkedHashMap) hm.clone(); local [all...] |
/external/google-diff-match-patch/name/fraser/neil/plaintext/ |
diff_match_patch.java | 719 String[] hm2 = diff_halfMatchI(longtext, shorttext, local 722 if (hm1 == null && hm2 == null) { 724 } else if (hm2 == null) { 727 hm = hm2; 730 hm = hm1[4].length() > hm2[4].length() ? hm1 : hm2; [all...] |