HomeSort by relevance Sort by last modified time
    Searched refs:singletonMap (Results 1 - 25 of 30) sorted by null

1 2

  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
SingletonImmutableMap.java 40 super(Collections.singletonMap(checkNotNull(key), checkNotNull(value)));
  /external/guava/guava-tests/test/com/google/common/collect/
AbstractMapEntryTest.java 48 return Collections.singletonMap(key, value).entrySet().iterator().next();
ImmutableClassToInstanceMapTest.java 98 Map<Class<? extends Number>, Number> nullKey = Collections.singletonMap(
107 = Collections.singletonMap(Number.class, null);
ImmutableBiMapTest.java 313 builder.putAll(Collections.<String, Integer>singletonMap(null, 1));
322 builder.putAll(Collections.<String, Integer>singletonMap("one", null));
424 = ImmutableBiMap.copyOf(Collections.singletonMap("one", 1));
ImmutableMapTest.java 411 builder.putAll(Collections.<String, Integer>singletonMap(null, 1));
420 builder.putAll(Collections.<String, Integer>singletonMap("one", null));
503 = ImmutableMap.copyOf(Collections.singletonMap("one", 1));
ImmutableSortedMapTest.java 450 builder.putAll(Collections.<String, Integer>singletonMap(null, 1));
459 builder.putAll(Collections.<String, Integer>singletonMap("one", null));
548 = ImmutableSortedMap.copyOf(Collections.singletonMap("one", 1));
MapsTest.java 273 assertEquals(Collections.singletonMap(SomeEnum.SOME_INSTANCE, 0), map);
335 = Collections.singletonMap(1, 2);
831 unmod.putAll(Collections.singletonMap(4, "four"));
846 inverse.putAll(Collections.singletonMap("four", 4));
    [all...]
AbstractBiMapTest.java 220 assertEquals(Collections.singletonMap(1, "one"), bimap);
  /libcore/luni/src/main/java/java/net/
CookieManager.java 144 return Collections.singletonMap("Cookie", Collections.singletonList(result.toString()));
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
TestsForMapsInJavaUtil.java 106 return Collections.singletonMap(
110 .named("singletonMap")
Helpers.java 70 return Collections.singletonMap(key, value).entrySet().iterator().next();
MapInterfaceTest.java     [all...]
  /libcore/luni/src/test/java/tests/api/java/util/
CollectionsTest.java     [all...]
HashtableTest.java 143 Map<String, Void> map = Collections.singletonMap("Dog", null);
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
HttpOverSpdyTest.java 226 assertEquals(Collections.singletonMap("Cookie", Arrays.asList("c=oreo")),
  /libcore/json/src/test/java/org/json/
JSONArrayTest.java 309 array.put(new JSONObject(Collections.singletonMap("x", 6)));
JSONObjectTest.java 662 JSONObject object = new JSONObject(Collections.singletonMap("foo", Double.NaN));
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
CookiesTest.java 571 return Collections.singletonMap("Set-Cookie", Arrays.asList(headers));
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
SerializationStressTest4.java 1156 objToSave = java.util.Collections.singletonMap("key", new Byte(
    [all...]
  /libcore/luni/src/main/java/java/util/
Collections.java 287 private static final class SingletonMap<K, V> extends AbstractMap<K, V>
294 SingletonMap(K key, V value) {
    [all...]
  /prebuilts/tools/common/freemarker/
freemarker-2.3.19.jar 
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/16/
android.jar 

Completed in 1478 milliseconds

1 2