Searched refs:singletonMap (Results 1 - 7 of 7) sorted by relevance
/libcore/luni/src/main/java/java/net/ |
H A D | CookieManager.java | 144 return Collections.singletonMap("Cookie", Collections.singletonList(result.toString()));
|
/libcore/luni/src/test/java/tests/api/java/util/ |
H A D | CollectionsTest.java | 2149 Map single = Collections.singletonMap(key, value); 2155 assertFalse(Collections.singletonMap(null, null).containsKey(key)); 2156 assertFalse(Collections.singletonMap(null, null).containsValue(value)); 2157 assertTrue(Collections.singletonMap(null, null).containsKey(null)); 2158 assertTrue(Collections.singletonMap(null, null).containsValue(null));
|
H A D | HashtableTest.java | 143 Map<String, Void> map = Collections.singletonMap("Dog", null);
|
/libcore/json/src/test/java/org/json/ |
H A D | JSONArrayTest.java | 310 array.put(new JSONObject(Collections.singletonMap("x", 6)));
|
H A D | JSONObjectTest.java | 664 JSONObject object = new JSONObject(Collections.singletonMap("foo", Double.NaN));
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | CookiesTest.java | 571 return Collections.singletonMap("Set-Cookie", Arrays.asList(headers));
|
/libcore/luni/src/main/java/java/util/ |
H A D | Collections.java | 1850 public static <K, V> Map<K, V> singletonMap(K key, V value) { method in class:Collections
|
Completed in 1590 milliseconds