AttributeMap extends CIStringHashMap { public void removeAll(final Collection<String> keySet) { for (final String key : keySet) { remove(key); } }  void removeAll(final Collection<String> keySet);  }
@Test void testRemove() { AttributeMap attributeMap = new AttributeMap(); attributeMap.put("a", "a1"); attributeMap.put("B", "b1"); attributeMap.removeAll(Arrays.asList("A", "b")); assertThat(attributeMap.size()).isEqualTo(0); }