@Test public void keySet() { final Set<String> expectedKeys = new HashSet<String>( Arrays.asList("Woodwind", "Brass", "Percussion", "Strings")); assertEquals(expectedKeys.size(), orchestraMap.keySet().size()); assertEquals(expectedKeys.size(), orchestraMap2.keySet().size()); assertTrue(orchestraMap.keySet().containsAll(expectedKeys)); assertTrue(orchestraMap2.keySet().containsAll(expectedKeys)); }
public Set<K1> keySet() { return map.keySet(); }
TwoDHashMap { public Set<K1> keySet() { return map.keySet(); } }
TwoDHashMap { public Set<K1> keySet() { return map.keySet(); } TwoDHashMap();  TwoDHashMap(final HashMap<K1, HashMap<K2, V>> map); }
TwoDHashMap { public Set<K1> keySet() { return map.keySet(); } TwoDHashMap();  TwoDHashMap(final HashMap<K1, HashMap<K2, V>> map); boolean containsKey(final K1 firstKey, final K2 secondKey); V get(final K1 firstKey, final K2 secondKey); Object set(final K1 firstKey, final K2 secondKey, final V value); int size(); int size(final K1 firstKey); Set<K1> keySet(); }
TwoDHashMap { public Set<K1> keySet() { return map.keySet(); } TwoDHashMap();  TwoDHashMap(final HashMap<K1, HashMap<K2, V>> map); boolean containsKey(final K1 firstKey, final K2 secondKey); V get(final K1 firstKey, final K2 secondKey); Object set(final K1 firstKey, final K2 secondKey, final V value); int size(); int size(final K1 firstKey); Set<K1> keySet();  }