Home | History | Annotate | Download | only in collect

Lines Matching refs:Maps

32  * Tests for {@link Maps#transformValues}.
58 return Maps.transformValues(Maps.<String, String>newHashMap(),
64 Map<String, Integer> underlying = Maps.newHashMap();
68 return Maps.transformValues(underlying, Functions.toStringFunction());
81 /** Helper assertion comparing two maps */
97 Map<String, String> map = Maps.transformValues(
99 assertMapsEqual(Maps.newHashMap(), map);
103 Map<String, String> map = Maps.transformValues(
112 Map<String, Integer> map = Maps.transformValues(
118 Map<String, String> map = Maps.transformValues(
140 Map<String, Integer> underlying = Maps.newHashMap();
143 = Maps.transformValues(underlying, Functions.toStringFunction());
149 Map<String, String> underlying = Maps.newHashMap();
153 Map<String, Boolean> map = Maps.transformValues(underlying,
172 Map<String, Integer> underlying = Maps.newHashMap();
177 = Maps.transformValues(underlying, Functions.toStringFunction());
193 Map<String, Integer> underlying = Maps.newLinkedHashMap();
202 = Maps.transformValues(underlying, Functions.toStringFunction());
245 = Maps.transformValues(underlying, Functions.<Integer>identity());
249 Map<String, Integer> equalToUnderlying = Maps.newTreeMap();
251 Map<String, Integer> map = Maps.transformValues(
255 map = Maps.transformValues(ImmutableMap.of("a", 1, "b", 2, "c", 3),
267 Map<String, Boolean> underlying = Maps.newHashMap();
272 Map<String, Boolean> map = Maps.transformValues(
282 assertTrue(entries.contains(Maps.immutableEntry("a", true)));
283 assertTrue(entries.contains(Maps.immutableEntry("b", (Boolean) null)));
285 Maps.immutableEntry((String) null, (Boolean) null)));
287 assertFalse(entries.contains(Maps.immutableEntry("c", (Boolean) null)));
288 assertFalse(entries.contains(Maps.immutableEntry((String) null, true)));