Home
last modified time | relevance | path

Searched refs:emptyMap (Results 1 – 25 of 29) sorted by relevance

12

/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DMapPutAllTester.java59 getMap().putAll(emptyMap()); in testPutAll_supportedNothing()
66 getMap().putAll(emptyMap()); in testPutAll_unsupportedNothing()
168 private Map<K, V> emptyMap() { in emptyMap() method in MapPutAllTester
169 return Collections.emptyMap(); in emptyMap()
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableBiMapTest.java220 assertEquals(Collections.<String, Integer>emptyMap(), map); in testEmptyBuilder()
221 assertEquals(Collections.<Integer, String>emptyMap(), map.inverse()); in testEmptyBuilder()
250 .putAll(Collections.<String, Integer>emptyMap()) in testBuilderPutAllWithEmptyMap()
252 assertEquals(Collections.<String, Integer>emptyMap(), map); in testBuilderPutAllWithEmptyMap()
416 = ImmutableBiMap.copyOf(Collections.<String, Integer>emptyMap()); in testCopyOfEmptyMap()
417 assertEquals(Collections.<String, Integer>emptyMap(), copy); in testCopyOfEmptyMap()
442 assertEquals(Collections.<String, Integer>emptyMap(), bimap); in testEmpty()
443 assertEquals(Collections.<String, Integer>emptyMap(), bimap.inverse()); in testEmpty()
DImmutableMapTest.java285 assertEquals(Collections.<String, Integer>emptyMap(), map); in testEmptyBuilder()
353 .putAll(Collections.<String, Integer>emptyMap()) in testBuilderPutAllWithEmptyMap()
355 assertEquals(Collections.<String, Integer>emptyMap(), map); in testBuilderPutAllWithEmptyMap()
496 = ImmutableMap.copyOf(Collections.<String, Integer>emptyMap()); in testCopyOfEmptyMap()
497 assertEquals(Collections.<String, Integer>emptyMap(), copy); in testCopyOfEmptyMap()
DImmutableClassToInstanceMapTest.java74 Map<Class<?>, Object> in = Collections.emptyMap(); in testCopyOf_map_empty()
116 Map<Class<?>, Object> in = Collections.emptyMap(); in testCopyOf_imap_empty()
DImmutableSortedMapTest.java318 assertEquals(Collections.<String, Integer>emptyMap(), map); in testEmptyBuilder()
391 .putAll(Collections.<String, Integer>emptyMap()) in testBuilderPutAllWithEmptyMap()
393 assertEquals(Collections.<String, Integer>emptyMap(), map); in testBuilderPutAllWithEmptyMap()
540 = ImmutableSortedMap.copyOf(Collections.<String, Integer>emptyMap()); in testCopyOfEmptyMap()
541 assertEquals(Collections.<String, Integer>emptyMap(), copy); in testCopyOfEmptyMap()
DMapsTest.java81 assertEquals(Collections.emptyMap(), map); in testHashMap()
166 assertEquals(Collections.emptyMap(), map); in testLinkedHashMap()
215 assertEquals(Collections.emptyMap(), map); in testIdentityHashMap()
220 assertEquals(Collections.emptyMap(), map); in testConcurrentMap()
225 assertEquals(Collections.emptyMap(), map); in testTreeMap()
231 assertEquals(Collections.emptyMap(), map); in testTreeMapDerived()
242 assertEquals(Collections.emptyMap(), map); in testTreeMapNonGeneric()
253 assertEquals(Collections.emptyMap(), map); in testTreeMapWithComparator()
271 assertEquals(Collections.emptyMap(), map); in testEnumMap()
333 = Collections.emptyMap();
DEnumHashBiMapTest.java64 Collections.<Currency, String>emptyMap()); in testCreateFromMap()
DEnumBiMapTest.java65 EnumBiMap.create(Collections.<Currency, Country>emptyMap()); in testCreateFromMap()
/external/protobuf/java/src/main/java/com/google/protobuf/
DExtensionRegistryLite.java129 this.extensionsByNumber = Collections.emptyMap(); in ExtensionRegistryLite()
141 this.extensionsByNumber = Collections.emptyMap(); in ExtensionRegistryLite()
DExtensionRegistry.java212 this.extensionsByName = Collections.<String, ExtensionInfo>emptyMap(); in ExtensionRegistry()
214 Collections.<DescriptorIntPair, ExtensionInfo>emptyMap(); in ExtensionRegistry()
DUnknownFieldSet.java83 new UnknownFieldSet(Collections.<Integer, Field>emptyMap());
360 fields = Collections.emptyMap(); in reinitialize()
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
DExtensionRegistryLite.java145 this.extensionsByNumber = Collections.emptyMap(); in ExtensionRegistryLite()
157 this.extensionsByNumber = Collections.emptyMap(); in ExtensionRegistryLite()
DExtensionRegistry.java212 this.extensionsByName = Collections.<String, ExtensionInfo>emptyMap(); in ExtensionRegistry()
214 Collections.<DescriptorIntPair, ExtensionInfo>emptyMap(); in ExtensionRegistry()
DSmallSortedMap.java156 this.overflowEntries = Collections.emptyMap();
167 Collections.<K, V>emptyMap() :
DUnknownFieldSet.java83 new UnknownFieldSet(Collections.<Integer, Field>emptyMap());
360 fields = Collections.emptyMap(); in reinitialize()
/external/chromium_org/third_party/WebKit/Source/core/dom/custom/
DCustomElementCallbackScheduler.cpp93 ElementCallbackQueueMap emptyMap; in clearElementCallbackQueueMap() local
94 instance().m_elementCallbackQueueMap.swap(emptyMap); in clearElementCallbackQueueMap()
/external/smack/src/org/jivesoftware/smackx/workgroup/util/
DMetaDataUtils.java76 return Collections.emptyMap(); in parseMetaData()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DNavigableMapTestSuiteBuilder.java119 NavigableMap<K, V> emptyMap = (NavigableMap<K, V>) delegate.create(); in createSubmapSuite() local
120 final Comparator<Entry<K, V>> entryComparator = Helpers.entryComparator(emptyMap.comparator()); in createSubmapSuite()
DTestsForMapsInJavaUtil.java90 return Collections.emptyMap(); in testsForEmptyMap()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSortedMap.java308 return emptyMap(comparator()); in tailMap()
314 static <K, V> ImmutableSortedMap<K, V> emptyMap(Comparator<? super K> comparator) { in emptyMap() method in ImmutableSortedMap
DImmutableBiMap.java125 super(Collections.emptyMap()); in EmptyBiMap()
DImmutableMap.java46 this.delegate = Collections.emptyMap(); in ImmutableMap()
/external/guava/guava/src/com/google/common/collect/
DImmutableSortedMap.java90 private static <K, V> ImmutableSortedMap<K, V> emptyMap( in emptyMap() method in ImmutableSortedMap
736 return emptyMap(comparator);
/external/guava/guava-testlib/src/com/google/common/testing/
DNullPointerTester.java84 setDefault(Map.class, Collections.emptyMap()); in setCommonDefaults()
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
DHttpOverSpdyTest.java244 Map<String, List<String>> requestHeaders = Collections.emptyMap(); in acceptAndTransmitCookies()

12