Lines Matching full:underlying
110 Map<String, Integer> underlying = Maps.newHashMap();
112 new UnmodifiableIteratorMap<String, Integer>(underlying), Functions.toStringFunction());
116 Map<String, Integer> underlying = Maps.newHashMap();
117 underlying.put("a", 1);
118 underlying.put("b", 2);
119 underlying.put("c", 3);
121 new UnmodifiableIteratorMap<String, Integer>(underlying), Functions.toStringFunction());
164 Map<String, Integer> underlying = ImmutableMap.of("a", 1);
166 underlying, Functions.<Integer>identity());
167 assertMapsEqual(underlying, map);
193 Map<String, Integer> underlying = Maps.newHashMap();
194 underlying.put("a", 1);
196 = Maps.transformValues(underlying, Functions.toStringFunction());
202 Map<String, String> underlying = Maps.newHashMap();
203 underlying.put("a", null);
204 underlying.put("b", "");
206 Map<String, Boolean> map = Maps.transformValues(underlying,
225 Map<String, Integer> underlying = Maps.newHashMap();
226 underlying.put("a", 1);
227 underlying.put("b", 2);
228 underlying.put("c", 3);
230 = Maps.transformValues(underlying, Functions.toStringFunction());
231 assertEquals(underlying.size(), map.size());
233 underlying.put("d", 4);
234 assertEquals(underlying.size(), map.size());
237 underlying.remove("c");
238 assertEquals(underlying.size(), map.size());
241 underlying.clear();
242 assertEquals(underlying.size(), map.size());
246 Map<String, Integer> underlying = Maps.newLinkedHashMap();
247 underlying.put("a", 1);
248 underlying.put("b", 2);
249 underlying.put("c", 3);
250 underlying.put("d", 4);
251 underlying.put("e", 5);
252 underlying.put("f", 6);
253 underlying.put("g", 7);
255 = Maps.transformValues(underlying, Functions.toStringFunction());
258 assertFalse(underlying.containsKey("a"));
262 assertFalse(underlying.containsKey("b"));
267 assertFalse(underlying.containsKey("c"));
271 assertFalse(underlying.containsKey("d"));
276 assertFalse(underlying.containsKey("e"));
281 assertFalse(underlying.containsKey("f"));
286 assertFalse(underlying.containsKey("g"));
288 assertTrue(underlying.isEmpty());
296 Map<String, Integer> underlying = ImmutableMap.of("a", 0, "b", 1, "c", 2);
298 = Maps.transformValues(underlying, Functions.<Integer>identity());
303 equalToUnderlying.putAll(underlying);
320 Map<String, Boolean> underlying = Maps.newHashMap();
321 underlying.put("a", null);
322 underlying.put("b", true);
323 underlying.put(null, true);
326 underlying, new Function<Boolean, Boolean>() {