/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
BiMapClearTester.java | 34 BiMap<V, K> inv = getMap().inverse(); 35 getMap().clear(); 36 assertTrue(getMap().isEmpty()); 42 BiMap<V, K> inv = getMap().inverse(); 43 getMap().keySet().clear(); 44 assertTrue(getMap().isEmpty()); 50 BiMap<V, K> inv = getMap().inverse(); 51 getMap().values().clear(); 52 assertTrue(getMap().isEmpty()); 58 BiMap<V, K> inv = getMap().inverse() [all...] |
BiMapRemoveTester.java | 41 getMap().remove(samples.e0.getKey()); 49 getMap().keySet().remove(samples.e0.getKey()); 57 getMap().values().remove(samples.e0.getValue()); 65 getMap().inverse().remove(samples.e0.getValue()); 73 getMap().inverse().keySet().remove(samples.e0.getValue()); 81 getMap().inverse().values().remove(samples.e0.getKey()); 89 Iterator<K> iterator = getMap().keySet().iterator(); 92 assertEquals(initialSize - 1, getMap().size()); 93 assertEquals(initialSize - 1, getMap().inverse().size());
|
BiMapPutTester.java | 40 getMap().put(k0, v0); 42 getMap().put(k1, v0); 58 getMap().put(k0, v0); 59 getMap().put(k0, v1); 69 getMap().put(samples.e0.getKey(), samples.e0.getValue()); 70 getMap().put(samples.e1.getKey(), samples.e1.getValue()); 81 getMap().put(k0, v0); 82 getMap().forcePut(k1, v0); 95 getMap().put(k0, v0); 96 getMap().inverse().put(v1, k1) [all...] |
AbstractBiMapTester.java | 36 protected BiMap<K, V> getMap() { 37 return (BiMap<K, V>) super.getMap(); 51 Helpers.assertEqualIgnoringOrder(getMap().inverse().entrySet(), reversedEntries); 54 assertEquals("Wrong key for value " + entry.getValue(), entry.getKey(), getMap() 65 BiMap<V, K> inv = getMap().inverse(); 73 getMap().get(entry.getValue()));
|
BiMapInverseTester.java | 45 assertSame(getMap(), getMap().inverse().inverse()); 50 BiMapPair<K, V> pair = new BiMapPair<K, V>(getMap());
|
/external/testng/src/test/java/test/thread/ |
BaseSequentialSample.java | 9 getMap().put(id, id);
12 Map getMap() {
13 Map result = Helper.getMap(getClass().getName());
|
SequentialTest.java | 70 Helper.getMap(classes[0]),
71 Helper.getMap(classes[1]),
72 Helper.getMap(classes[2]),
|
/frameworks/base/core/java/android/view/ |
IAssetAtlas.aidl | 53 long[] getMap();
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
MapRemoveTester.java | 50 int initialSize = getMap().size(); 52 samples.e0.getValue(), getMap().remove(samples.e0.getKey())); 54 initialSize - 1, getMap().size()); 63 Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator(); 64 getMap().remove(samples.e0.getKey()); 77 Iterator<K> iterator = getMap().keySet().iterator(); 78 getMap().remove(samples.e0.getKey()); 91 Iterator<V> iterator = getMap().values().iterator(); 92 getMap().remove(samples.e0.getKey()); 103 getMap().remove(samples.e3.getKey())) [all...] |
MapContainsValueTester.java | 41 getMap().containsValue(samples.e0.getValue())); 46 getMap().containsValue(samples.e3.getValue())); 52 getMap().containsValue(null)); 66 getMap().containsValue(samples.e3.getValue())); 74 getMap().containsValue(null)); 81 getMap().containsValue(WrongType.VALUE));
|
MapClearTester.java | 45 getMap().clear(); 47 getMap().isEmpty()); 55 Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator(); 56 getMap().clear(); 69 Iterator<K> iterator = getMap().keySet().iterator(); 70 getMap().clear(); 83 Iterator<V> iterator = getMap().values().iterator(); 84 getMap().clear(); 96 getMap().clear(); 108 getMap().clear() [all...] |
MapContainsKeyTester.java | 41 getMap().containsKey(samples.e0.getKey())); 46 getMap().containsKey(samples.e3.getKey())); 52 getMap().containsKey(null)); 66 getMap().containsKey(samples.e3.getKey())); 74 getMap().containsKey(null)); 81 getMap().containsKey(WrongType.VALUE));
|
MapIsEmptyTester.java | 36 assertTrue("isEmpty() should return true", getMap().isEmpty()); 41 assertFalse("isEmpty() should return false", getMap().isEmpty());
|
MapSizeTester.java | 32 assertEquals("size():", getNumElements(), getMap().size());
|
MapEqualsTester.java | 44 getMap().equals(newHashMap(getSampleEntries()))); 54 getMap().equals(other) 67 getMap().equals(newHashMap(entries))); 79 getMap().equals(other)); 91 getMap().equals(newHashMap(entries))); 103 getMap().equals(other)); 111 getMap().equals(newHashMap(fewerEntries))); 118 getMap().equals(newHashMap(moreEntries))); 123 getMap().equals(Helpers.copyToList(getMap().entrySet()))) [all...] |
MapToStringTester.java | 42 assertNotNull("toString() should not return null", getMap().toString()); 47 assertEquals("emptyMap.toString should return {}", "{}", getMap().toString()); 53 "size1Map.toString should return {entry}", "{" + samples.e0 + "}", getMap().toString()); 72 "map.toString() incorrect", expectedToString(getMap().entrySet()), getMap().toString());
|
MapEntrySetTester.java | 56 Set<Entry<K, V>> entrySet = getMap().entrySet(); 60 assertTrue(getMap().isEmpty()); 65 assertFalse(getMap() 70 assertFalse(getMap() 76 assertFalse(getMap() 84 assertTrue(getMap() 90 assertFalse(getMap() 98 assertTrue(getMap()
|
MapSerializationTester.java | 35 SerializableTester.reserializeAndAssert(getMap());
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/reflect/ |
ClassMap.java | 41 getMap(key).put(key, value); 45 return getMap(key).get(key); 49 getMap(key).remove(key); 53 getMap(classLoader).clear(); 61 private Map<Class<?>, V> getMap(Class<?> key) { 63 return getMap(classLoader); 67 private Map<Class<?>, V> getMap(ClassLoader classLoader) {
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue61/ |
GenericMapBeanTest.java | 32 listProvider.getMap().put("foo", 17); 33 listProvider.getMap().put("bar", 19); 40 assertEquals(new Integer(17), listProvider2.getMap().get("foo")); 41 assertEquals(new Integer(19), listProvider2.getMap().get("bar")); 51 listProvider.getMap().put("foo", foo); 55 listProvider.getMap().put("bar", bar); 63 Bean foo2 = (Bean) listProvider2.getMap().get("foo"); 66 Bean bar2 = (Bean) listProvider2.getMap().get("bar"); 74 public Map<K, V> getMap() { 86 return map.equals(((MapProvider) obj).getMap()); [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue143/ |
GenericMapTest.java | 27 GenericMap<Integer> shash = fact.getMap(); 41 public GenericMap<Integer> getMap() {
|
/libcore/ojluni/src/main/java/java/lang/ |
InheritableThreadLocal.java | 70 ThreadLocalMap getMap(Thread t) {
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/ |
AbstractTest.java | 26 protected Map<String, Object> getMap(String data) { 44 Map<String, Object> nativeData = getMap(data);
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/google/super/com/google/common/collect/testing/google/ |
BiMapInverseTester.java | 40 assertSame(getMap(), getMap().inverse().inverse()); 45 BiMapPair<K, V> pair = new BiMapPair<K, V>(getMap());
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
AbstractMapTester.java | 42 protected Map<K, V> getMap() { 53 return getMap().entrySet(); 64 getMap().containsKey(element)); 71 getMap().containsValue(element)); 132 assertFalse(message, getMap().containsKey(null)); 148 assertFalse(message, getMap().containsValue(null)); 178 equal(getMap().get(entry.getKey()), entry.getValue())); 196 entry.getValue(), getMap().get(entry.getKey())); 221 * uses {@link #getMap()}, it also ensures that callers don't pass an 225 return getMap().get(key) [all...] |