Lines Matching defs:map
28 Map<String, Integer> map;
30 // must be a map containing the string keys "0"-"99" paired with the Integer
39 map = m;
45 assertTrue("UnmodifiableMapTest - Should contain the key \"0\"", map
47 assertTrue("UnmodifiableMapTest - Should contain the key \"50\"", map
50 !map.containsKey("100"));
53 assertTrue("UnmodifiableMapTest - Should contain the value 0", map
55 assertTrue("UnmodifiableMapTest - Should contain the value 50", map
57 assertTrue("UnmodifiableMapTest - Should not contain value 100", !map
61 Set<?> entrySet = map.entrySet();
67 map.get(me.getKey()).equals(me.getValue()));
70 assertEquals("UnmodifiableMapTest - Incorrect number of map entries returned",
75 map.get("0").intValue() == 0);
77 map.get("0").intValue() == 0);
79 map.get("100"));
84 !map.isEmpty());
87 Set<?> keySet = map.keySet();
91 assertTrue("Size should return 100, returned: " + map.size(), map
95 new Support_UnmodifiableCollectionTest("Unmod--from map test", map