Home
last modified time | relevance | path

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

1234567

/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/jcommander/src/main/java/com/beust/jcommander/internal/
DMaps.java27 public static <K, V> Map<K,V> newHashMap() { in newHashMap() method in Maps
35 public static <T> Map<T, T> newHashMap(T... parameters) { in newHashMap() method in Maps
36 Map<T, T> result = Maps.newHashMap(); in newHashMap()
/external/jcommander/src/test/java/com/beust/jcommander/dynamic/
DDynamicParameterTest.java27 Assert.assertEquals(ds.params, Maps.newHashMap("a", "b", "c", "d")); in simple()
46 Assert.assertEquals(ds.params, Maps.newHashMap("a", "b")); in differentAssignment()
47 Assert.assertEquals(ds.params2, Maps.newHashMap("c", "d")); in differentAssignment()
DDSimple.java12 public Map<String, String> params = Maps.newHashMap();
15 public Map<String, String> params2 = Maps.newHashMap();
/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()
DTreeRangeMapTest.java238 Map<Integer, Integer> model = Maps.newHashMap(); in testAllRangesAlone()
249 Map<Integer, Integer> model = Maps.newHashMap(); in testAllRangePairs()
264 Map<Integer, Integer> model = Maps.newHashMap(); in testAllRangeTriples()
282 Map<Integer, Integer> model = Maps.newHashMap(); in testPutAll()
302 Map<Integer, Integer> model = Maps.newHashMap(); in testPutAndRemove()
317 Map<Integer, Integer> model = Maps.newHashMap(); in testPutTwoAndRemove()
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());
/external/testng/src/main/java/org/testng/
DClassMethodMap.java20 private Map<Object, List<ITestNGMethod>> m_classMap = Maps.newHashMap();
23 private Map<ITestClass, Set<Object>> m_beforeClassMethods = Maps.newHashMap();
24 private Map<ITestClass, Set<Object>> m_afterClassMethods = Maps.newHashMap();
/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/testng/src/main/java/org/testng/reporters/jq/
DModel.java23 private Map<String, String> m_testTags = Maps.newHashMap();
24 private Map<ITestResult, String> m_testResultMap = Maps.newHashMap();
25 private Map<ISuite, ResultsByClass> m_failedResultsByClass = Maps.newHashMap();
26 private Map<ISuite, ResultsByClass> m_skippedResultsByClass = Maps.newHashMap();
27 private Map<ISuite, ResultsByClass> m_passedResultsByClass = Maps.newHashMap();
30 private Map<String, String> m_statusBySuiteName = Maps.newHashMap();
/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/testng/src/main/java/org/testng/collections/
DMaps.java11 public static <K, V> Map<K,V> newHashMap() { in newHashMap() method in Maps
31 public static <K, V> Map<K, V> newHashMap(Map<K, V> parameters) { in newHashMap() method in Maps
/external/testng/src/main/java/org/testng/internal/
DMethodGroupsHelper.java129 Map<String, List<ITestNGMethod>> result = Maps.newHashMap(); in findGroupsMethods()
159 Map<ITestNGMethod, ITestNGMethod> runningMethods = Maps.newHashMap(); in findGroupTransitiveClosure()
164 Map<String, String> runningGroups = Maps.newHashMap(); in findGroupTransitiveClosure()
171 Map<ITestNGMethod, ITestNGMethod> newMethods = Maps.newHashMap(); in findGroupTransitiveClosure()
218 newMethods = Maps.newHashMap(); in findGroupTransitiveClosure()
DTarjan.java18 Map<T, Integer> m_indices = Maps.newHashMap();
19 Map<T, Integer> m_lowlinks = Maps.newHashMap();
/external/testng/src/main/java/org/testng/internal/invokers/
DInvokedMethodListenerInvoker.java113 InvocationStrategy>> strategies = Maps.newHashMap();
115 INVOKE_WITH_CONTEXT_STRATEGIES = Maps.newHashMap();
117 INVOKE_WITHOUT_CONTEXT_STRATEGIES = Maps.newHashMap();
/external/testng/src/test/java/org/testng/
DAssertTest.java67 Map expected = Maps.newHashMap(); in mapAssertEquals()
68 Map actual = Maps.newHashMap(); in mapAssertEquals()
82 Map expected = Maps.newHashMap(); in oneNullMapAssertEquals()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/
DDexEntryFinderTest.java59 Map<String, DexBackedDexFile> entries = Maps.newHashMap(); in testNormalStuff()
108 Map<String, DexBackedDexFile> entries = Maps.newHashMap(); in testSimilarEntries()
129 Map<String, DexBackedDexFile> entries = Maps.newHashMap(); in testMatchingSuffix()
148 Map<String, DexBackedDexFile> entries = Maps.newHashMap(); in testNonDexEntries()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DComponentProcessingStep.java109 Map<Element, ValidationReport<TypeElement>> builderReportsByComponent = Maps.newHashMap();
121 Map<Element, ValidationReport<TypeElement>> builderReportsBySubcomponent = Maps.newHashMap();
134 Map<Element, ValidationReport<TypeElement>> reportsBySubcomponent = Maps.newHashMap();
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletTestUtils.java56 final Map<String, Object> attributes = Maps.newHashMap(); in newFakeHttpServletRequest()
100 final Map<String, Object> attributes = Maps.newHashMap();
/external/guice/extensions/grapher/src/com/google/inject/grapher/graphviz/
DGraphvizGrapher.java50 private final Map<NodeId, GraphvizNode> nodes = Maps.newHashMap();
94 Map<String, String> attrs = Maps.newHashMap(); in getGraphAttributes()
116 Map<String, String> attrs = Maps.newHashMap(); in getNodeAttributes()
179 Map<String, String> attrs = Maps.newHashMap(); in getEdgeAttributes()
/external/testng/src/main/java/org/testng/reporters/
DFailedReporter.java56 Map<String, XmlTest> xmlTests= Maps.newHashMap(); in generateFailureSuite()
186 Map<Class, Set<ITestNGMethod>> methodsMap= Maps.newHashMap(); in createXmlClasses()
203 Map<String, String> parameters = Maps.newHashMap(); in createXmlClasses()
/external/testng/src/main/java/org/testng/xml/
DXmlTest.java39 private Map<String, List<String>> m_metaGroups = Maps.newHashMap();
40 private Map<String, String> m_parameters = Maps.newHashMap();
59 private Map<String, String> m_xmlDependencyGroups = Maps.newHashMap();
322 Map<String, List<String>> result = Maps.newHashMap(); in getMetaGroups()
358 Map<String, String> result = Maps.newHashMap(); in getAllParameters()
672 m_failedInvocationNumbers = Maps.newHashMap(); in getInvocationNumbers()
877 Map<String, String> result = Maps.newHashMap(); in getXmlDependencyGroups()
DXmlInclude.java20 private Map<String, String> m_parameters = Maps.newHashMap();
149 Map<String, String> result = Maps.newHashMap(); in getAllParameters()

1234567