Home
last modified time | relevance | path

Searched refs:newHashMap (Results 1 – 25 of 66) sorted by relevance

123

/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DMapEqualsTester.java44 getMap().equals(newHashMap(getSampleEntries()))); in testEquals_otherMapWithSameEntries()
49 Map<K, V> other = newHashMap(getSampleEntries(getNumEntries() - 1)); in testEquals_otherMapWithDifferentEntries()
67 getMap().equals(newHashMap(entries))); in testEquals_containingNullKey()
74 Map<K, V> other = newHashMap(entries); in testEquals_otherContainsNullKey()
91 getMap().equals(newHashMap(entries))); in testEquals_containingNullValue()
98 Map<K, V> other = newHashMap(entries); in testEquals_otherContainsNullValue()
111 getMap().equals(newHashMap(fewerEntries))); in testEquals_smallerMap()
118 getMap().equals(newHashMap(moreEntries))); in testEquals_largerMap()
126 private static <K, V> HashMap<K, V> newHashMap( in newHashMap() method in MapEqualsTester
/external/guava/guava-tests/test/com/google/common/collect/
DMapsTransformValuesTest.java58 return Maps.transformValues(Maps.<String, String>newHashMap(), in makeEmptyMap()
64 Map<String, Integer> underlying = Maps.newHashMap(); in makePopulatedMap()
99 assertMapsEqual(Maps.newHashMap(), map); in testTransformEmptyMapEquality()
140 Map<String, Integer> underlying = Maps.newHashMap(); in testTransformRemoveEntry()
149 Map<String, String> underlying = Maps.newHashMap(); in testTransformEqualityOfMapsWithNullValues()
172 Map<String, Integer> underlying = Maps.newHashMap(); in testTransformReflectsUnderlyingMap()
267 Map<String, Boolean> underlying = Maps.newHashMap(); in testTransformEntrySetContains()
DMapsTransformValuesUnmodifiableIteratorTest.java110 Map<String, Integer> underlying = Maps.newHashMap();
116 Map<String, Integer> underlying = Maps.newHashMap();
152 assertMapsEqual(Maps.newHashMap(), map);
193 Map<String, Integer> underlying = Maps.newHashMap();
202 Map<String, String> underlying = Maps.newHashMap();
225 Map<String, Integer> underlying = Maps.newHashMap();
320 Map<String, Boolean> underlying = Maps.newHashMap();
DForMapMultimapAsMapImplementsMapTest.java40 Map<String, Integer> map = Maps.newHashMap(); in makeEmptyMap()
45 Map<String, Integer> map = Maps.newHashMap(); in makePopulatedMap()
DForwardingMapTest.java352 Map<String, String> hashmap = Maps.newHashMap();
358 Maps.<String, String>newHashMap());
366 Map<String, String> hashmap = Maps.newHashMap();
372 Maps.<String, String>newHashMap());
DMultimapsTest.java407 Map<String, Integer> map = Maps.newHashMap(); in testForMap()
478 Map<String, Integer> map = Maps.newHashMap(); in testForMapSerialization()
486 Map<String, Integer> map = Maps.newHashMap(); in testForMapRemoveAll()
501 Map<String, Integer> map = Maps.newHashMap(); in testForMapAsMap()
540 Map<String, Integer> map = Maps.newHashMap(); in testForMapGetIteration()
701 Map<Color, Collection<Integer>> map = Maps.newHashMap(); in testNewSetMultimap()
715 Map<Color, Collection<Integer>> map = Maps.newHashMap(); in testNewSetMultimapSerialization()
DMapsCollectionTest.java221 Map<String, String> map = Maps.newHashMap(); in filterMapSuite()
238 Map<String, String> map = Maps.newHashMap(); in filterMapSuite()
255 Map<String, String> map = Maps.newHashMap(); in filterMapSuite()
272 Map<String, String> map = Maps.newHashMap(); in filterMapSuite()
DImmutableEnumMapTest.java47 Map<AnEnum, String> map = Maps.newHashMap(); in create()
/external/guava/guava-tests/test/com/google/common/base/
DFunctionsTest.java88 Map<String, Integer> map = Maps.newHashMap(); in testForMapWithoutDefault()
116 Map<String, Integer> map = Maps.newHashMap(); in testForMapWithDefault()
137 Map<String, Integer> map = Maps.newHashMap(); in testForMapWithDefault_includeSerializable()
192 Map<String, Integer> map = Maps.newHashMap(); in testForMapWildCardWithDefault()
204 Map<String, Integer> mJapaneseToInteger = Maps.newHashMap(); in testComposition()
211 Map<Integer, String> mIntegerToSpanish = Maps.newHashMap(); in testComposition()
247 Map<String, Integer> mJapaneseToInteger = Maps.newHashMap(); in testComposition_includeReserializabled()
254 Map<Integer, String> mIntegerToSpanish = Maps.newHashMap(); in testComposition_includeReserializabled()
277 Map<String, Integer> mapJapaneseToInteger = Maps.newHashMap(); in testCompositionWildcard()
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DFunctionsTest.java68 Map<String, Integer> map = Maps.newHashMap(); in testForMapWithoutDefault()
91 Map<String, Integer> map = Maps.newHashMap(); in testForMapWithDefault()
125 Map<String, Integer> map = Maps.newHashMap(); in testForMapWildCardWithDefault()
137 Map<String, Integer> mJapaneseToInteger = Maps.newHashMap(); in testComposition()
144 Map<Integer, String> mIntegerToSpanish = Maps.newHashMap(); in testComposition()
179 Map<String, Integer> mapJapaneseToInteger = Maps.newHashMap(); in testCompositionWildcard()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/
DDesignerPlugin.java203 private static Map<String, ImageDescriptor> sDescriptorCache = Maps.newHashMap();
204 private static Map<String, Image> sImageCache = Maps.newHashMap();
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/util/
DDexAnnotator.java51 private final Map<Integer, SectionAnnotator> annotators = Maps.newHashMap();
52 private static final Map<Integer, Integer> sectionAnnotationOrder = Maps.newHashMap();
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DBaseOffsetPool.java43 @Nonnull protected final Map<Key, Integer> internedItems = Maps.newHashMap();
DBaseIndexPool.java43 @Nonnull protected final Map<Key, Integer> internedItems = Maps.newHashMap();
DStringTypeBasePool.java45 @Nonnull protected final Map<String, Integer> internedItems = Maps.newHashMap();
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DOpcodes.java45 opcodesByName = Maps.newHashMap(); in Opcodes()
DVerificationError.java51 private static final HashMap<String, Integer> verificationErrorNames = Maps.newHashMap();
/external/guava/guava-gwt/src/com/google/common/collect/
DImmutableEnumMap_CustomFieldSerializer.java39 Map<K, V> deserialized = Maps.newHashMap(); in instantiate()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DImmutableEnumMapTest.java41 Map<AnEnum, String> map = Maps.newHashMap(); in create()
DMultimapsTest.java315 Map<String, Integer> map = Maps.newHashMap(); in testForMap()
385 Map<String, Integer> map = Maps.newHashMap(); in testForMapRemoveAll()
400 Map<String, Integer> map = Maps.newHashMap(); in testForMapAsMap()
439 Map<String, Integer> map = Maps.newHashMap(); in testForMapGetIteration()
580 Map<Color, Collection<Integer>> map = Maps.newHashMap(); in testNewSetMultimap()
DSimpleAbstractMultisetTest.java67 final Map<E, Integer> backingMap = Maps.newHashMap();
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DSectionAnnotator.java50 private Map<Integer, String> itemIdentities = Maps.newHashMap();
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/
DProperty.java151 m_arbitraryMap = Maps.newHashMap(); in putArbitraryValue()
/external/smali/smali/src/test/java/
DImplicitReferenceTest.java119 Map<String, Field> fields = Maps.newHashMap(); in testImplicitMethodLiteral()
213 Map<String, Field> fields = Maps.newHashMap(); in testImplicitFieldLiteral()
/external/guava/guava-tests/test/com/google/common/cache/
DPopulatedCachesTest.java198 Set<Object> expected = Maps.newHashMap(cache.asMap()).keySet(); in testKeySet_populated()
225 Collection<Object> expected = Maps.newHashMap(cache.asMap()).values(); in testValues_populated()
250 Set<?> expected = Maps.newHashMap(cache.asMap()).entrySet(); in testEntrySet_populated()

123