@Test public void testContainsKeyWithThreeParams() { final String firstKey = "United Kingdom"; final String secondKey = "London"; final String thirdKey = "Elizabeth"; assertTrue(personMap.containsKey(firstKey, secondKey, thirdKey)); assertFalse(personMap.containsKey("invalid", secondKey, thirdKey)); assertFalse(personMap.containsKey(firstKey, "invalid", thirdKey)); assertFalse(personMap.containsKey(firstKey, secondKey, "invalid")); }
public boolean containsKey(final K1 firstKey, final K2 secondKey) { final HashMap<K2, HashMap<K3, V>> innerMap1 = map.get(firstKey); if( innerMap1 == null ) { return false; } return innerMap1.containsKey(secondKey); }
ThreeDHashMap { public boolean containsKey(final K1 firstKey, final K2 secondKey) { final HashMap<K2, HashMap<K3, V>> innerMap1 = map.get(firstKey); if( innerMap1 == null ) { return false; } return innerMap1.containsKey(secondKey); } }
ThreeDHashMap { public boolean containsKey(final K1 firstKey, final K2 secondKey) { final HashMap<K2, HashMap<K3, V>> innerMap1 = map.get(firstKey); if( innerMap1 == null ) { return false; } return innerMap1.containsKey(secondKey); }  }
ThreeDHashMap { public boolean containsKey(final K1 firstKey, final K2 secondKey) { final HashMap<K2, HashMap<K3, V>> innerMap1 = map.get(firstKey); if( innerMap1 == null ) { return false; } return innerMap1.containsKey(secondKey); }  boolean containsKey(final K1 firstKey, final K2 secondKey); boolean containsKey(final K1 firstKey, final K2 secondKey, final K3 thirdKey); HashMap<K2, HashMap<K3, V>> get(final K1 firstKey); TwoDHashMap<K2, K3, V> getAs2d(final K1 firstKey); HashMap<K3, V> get(final K1 firstKey, final K2 secondKey); V get(final K1 firstKey, final K2 secondKey, final K3 thirdKey); Object set(final K1 firstKey, final K2 secondKey, final K3 thirdKey, final V value); int size(); int size(final K1 firstKey); int size(final K1 firstKey, final K2 secondKey); Set<K1> keySet(); }
ThreeDHashMap { public boolean containsKey(final K1 firstKey, final K2 secondKey) { final HashMap<K2, HashMap<K3, V>> innerMap1 = map.get(firstKey); if( innerMap1 == null ) { return false; } return innerMap1.containsKey(secondKey); }  boolean containsKey(final K1 firstKey, final K2 secondKey); boolean containsKey(final K1 firstKey, final K2 secondKey, final K3 thirdKey); HashMap<K2, HashMap<K3, V>> get(final K1 firstKey); TwoDHashMap<K2, K3, V> getAs2d(final K1 firstKey); HashMap<K3, V> get(final K1 firstKey, final K2 secondKey); V get(final K1 firstKey, final K2 secondKey, final K3 thirdKey); Object set(final K1 firstKey, final K2 secondKey, final K3 thirdKey, final V value); int size(); int size(final K1 firstKey); int size(final K1 firstKey, final K2 secondKey); Set<K1> keySet();  }